Update actions
Some checks failed
CI/CD / Linux-x86 (push) Failing after 5s

This commit is contained in:
Lauri Räsänen 2025-01-11 20:46:44 +02:00
parent ebe15047f1
commit 71a2c87cdb

View file

@ -5,7 +5,7 @@ on: [push, pull_request]
jobs:
linux:
name: Linux-x86
runs-on: docker
runs-on: debian-bookworm
strategy:
matrix:
compiler: [g++, clang++]
@ -13,10 +13,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Install G++ Multilib, Clang++ & OpenGL library
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y g++-multilib clang libgl1-mesa-dev
apt update
apt install -y sudo g++-multilib clang libgl1-mesa-dev
- name: Build
run: |
@ -40,44 +40,6 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
with:
url: https://code.nullprop.sh
fail_on_unmatched_files: true
files: photomode-linux.zip
direction: upload
release-dir: photomode-linux.zip
win32:
name: Win32
runs-on: docker
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2
with:
msbuild-architecture: x86
- name: Build
run: msbuild projects/vs2019/projects.sln -t:rebuild -property:Configuration=Release -maxcpucount:2
- name: Package
run: |
mkdir photomode\cl_dlls
mkdir photomode\dlls
copy projects\vs2019\Release\hl_cdll\client.dll photomode\cl_dlls\client.dll
copy projects\vs2019\Release\hl_cdll\client.pdb photomode\cl_dlls\client.pdb
copy projects\vs2019\Release\hldll\hl.dll photomode\dlls\hl.dll
copy projects\vs2019\Release\hldll\hl.pdb photomode\dlls\hl.pdb
Compress-Archive photomode photomode-windows.zip
- name: Deploy
uses: actions/upload-artifact@v4
with:
name: Win32-${{ github.sha }}
path: photomode
- name: Release
uses: actions/forgejo-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
url: https://code.nullprop.sh
fail_on_unmatched_files: true
files: photomode-windows.zip