fixes somethigns
This commit is contained in:
@@ -13,8 +13,6 @@ jobs:
|
||||
os: ubuntu-latest
|
||||
- identifier: windows
|
||||
os: ubuntu-latest
|
||||
- identifier: macos
|
||||
os: macos-latest
|
||||
- identifier: web
|
||||
os: ubuntu-latest
|
||||
runs-on: ${{ matrix.os }}
|
||||
@@ -27,9 +25,13 @@ jobs:
|
||||
with:
|
||||
python-version: '3.10'
|
||||
|
||||
- name: (Windows) Set up MinGW
|
||||
- name: (Windows) Install MinGW
|
||||
if: ${{ startsWith(matrix.identifier, 'windows') }}
|
||||
uses: egor-tensin/setup-mingw@v2
|
||||
run: |
|
||||
sudo apt-get update -y -qq
|
||||
sudo apt-get install -y mingw-w64
|
||||
sudo update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix
|
||||
sudo update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix
|
||||
|
||||
- name: (Windows) Prepare cross compilation
|
||||
if: ${{ startsWith(matrix.identifier, 'windows') }}
|
||||
@@ -42,7 +44,7 @@ jobs:
|
||||
run: |
|
||||
sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu `lsb_release -sc` main universe restricted multiverse"
|
||||
sudo apt-get update -y -qq
|
||||
sudo apt-get install libsdl2-dev libglew-dev
|
||||
sudo apt-get install -y libsdl2-dev libglew-dev
|
||||
|
||||
- name: (Web) Set up Emscripten
|
||||
if: ${{ startsWith(matrix.identifier, 'web') }}
|
||||
@@ -62,7 +64,7 @@ jobs:
|
||||
make test -j`nproc`
|
||||
|
||||
- name: Upload build
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: libsm64_${{ matrix.identifier }}
|
||||
path: |
|
||||
@@ -88,4 +90,4 @@ jobs:
|
||||
# title: "Snapshot Build"
|
||||
# files: |
|
||||
# ./README.md
|
||||
# ./dist
|
||||
# ./dist
|
||||
Reference in New Issue
Block a user