fully fixed and skips windows because we dont have a windows runner
All checks were successful
Build Project / build (ubuntu-latest) (push) Successful in 21m18s
All checks were successful
Build Project / build (ubuntu-latest) (push) Successful in 21m18s
This commit is contained in:
@@ -15,7 +15,7 @@ jobs:
|
||||
matrix:
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- windows-latest
|
||||
# - windows-latest
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
@@ -52,25 +52,25 @@ jobs:
|
||||
make PLATFORM=PLATFORM_DESKTOP
|
||||
sudo make install
|
||||
|
||||
- name: Install MSYS2 and Raylib (Windows)
|
||||
if: runner.os == 'Windows'
|
||||
uses: msys2/setup-msys2@v2
|
||||
with:
|
||||
msystem: MINGW64
|
||||
update: true
|
||||
install: >
|
||||
mingw-w64-x86_64-gcc
|
||||
mingw-w64-x86_64-make
|
||||
mingw-w64-x86_64-raylib
|
||||
# - name: Install MSYS2 and Raylib (Windows)
|
||||
# if: runner.os == 'Windows'
|
||||
# uses: msys2/setup-msys2@v2
|
||||
# with:
|
||||
# msystem: MINGW64
|
||||
# update: true
|
||||
# install: >
|
||||
# mingw-w64-x86_64-gcc
|
||||
# mingw-w64-x86_64-make
|
||||
# mingw-w64-x86_64-raylib
|
||||
|
||||
- name: Build (Linux)
|
||||
if: runner.os == 'Linux'
|
||||
run: make
|
||||
|
||||
- name: Build (Windows)
|
||||
if: runner.os == 'Windows'
|
||||
shell: msys2 {0}
|
||||
run: make
|
||||
# - name: Build (Windows)
|
||||
# if: runner.os == 'Windows'
|
||||
# shell: msys2 {0}
|
||||
# run: make
|
||||
|
||||
- name: Upload Linux Artifact
|
||||
if: runner.os == 'Linux'
|
||||
@@ -79,9 +79,9 @@ jobs:
|
||||
name: wrldbox-linux
|
||||
path: wrldbox
|
||||
|
||||
- name: Upload Windows Artifact
|
||||
if: runner.os == 'Windows'
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: wrldbox-windows
|
||||
path: "*.exe"
|
||||
# - name: Upload Windows Artifact
|
||||
# if: runner.os == 'Windows'
|
||||
# uses: actions/upload-artifact@v3
|
||||
# with:
|
||||
# name: wrldbox-windows
|
||||
# path: "*.exe"
|
||||
Reference in New Issue
Block a user