Fix CI steps triggers
This commit is contained in:
@@ -28,24 +28,24 @@ jobs:
|
|||||||
python-version: '3.10'
|
python-version: '3.10'
|
||||||
|
|
||||||
- name: (Windows) Set up MinGW
|
- name: (Windows) Set up MinGW
|
||||||
if: ${{ matrix.identifier }} == 'windows'
|
if: ${{ startsWith(matrix.identifier, 'windows') }}
|
||||||
uses: egor-tensin/setup-mingw@v2
|
uses: egor-tensin/setup-mingw@v2
|
||||||
|
|
||||||
- name: (Windows) Prepare cross compilation
|
- name: (Windows) Prepare cross compilation
|
||||||
if: ${{ matrix.identifier }} == 'windows'
|
if: ${{ startsWith(matrix.identifier, 'windows') }}
|
||||||
shell: sh
|
shell: sh
|
||||||
run: |
|
run: |
|
||||||
echo "OS=Windows_NT" >> $GITHUB_ENV
|
echo "OS=Windows_NT" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: (Linux) Install dependencies
|
- name: (Linux) Install dependencies
|
||||||
if: ${{ matrix.identifier }} == 'linux'
|
if: ${{ startsWith(matrix.identifier, 'linux') }}
|
||||||
run: |
|
run: |
|
||||||
sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu `lsb_release -sc` main universe restricted multiverse"
|
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 update -y -qq
|
||||||
sudo apt-get install libsdl2-dev libglew-dev
|
sudo apt-get install libsdl2-dev libglew-dev
|
||||||
|
|
||||||
- name: (Web) Set up Emscripten
|
- name: (Web) Set up Emscripten
|
||||||
if: ${{ matrix.identifier }} == 'web'
|
if: ${{ startsWith(matrix.identifier, 'web') }}
|
||||||
uses: mymindstorm/setup-emsdk@v14
|
uses: mymindstorm/setup-emsdk@v14
|
||||||
|
|
||||||
- name: Build shared library
|
- name: Build shared library
|
||||||
|
|||||||
Reference in New Issue
Block a user