|
|
@@ -12,7 +12,7 @@ jobs:
|
|
|
- name: Run nob
|
|
|
run: ./nob
|
|
|
- name: Upload build folder
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
+ uses: actions/upload-artifact@v4
|
|
|
with:
|
|
|
name: macos-build-folder
|
|
|
path: build/
|
|
|
@@ -31,17 +31,16 @@ jobs:
|
|
|
- name: Run nob
|
|
|
run: ./nob
|
|
|
- name: Upload build folder
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
+ uses: actions/upload-artifact@v4
|
|
|
with:
|
|
|
name: ubuntu-${{ matrix.cc }}-build-folder
|
|
|
path: build/
|
|
|
windows:
|
|
|
+ name: windows (${{ matrix.hotreload == true && 'hotreload' || '' }})
|
|
|
runs-on: windows-latest
|
|
|
strategy:
|
|
|
matrix:
|
|
|
- hotreload:
|
|
|
- - "/DMUSIALIZER_HOTRELOAD"
|
|
|
- - ""
|
|
|
+ hotreload: [true, false]
|
|
|
steps:
|
|
|
- name: Clone GIT repo
|
|
|
uses: actions/checkout@v4
|
|
|
@@ -53,14 +52,14 @@ jobs:
|
|
|
# https://learn.microsoft.com/en-us/cpp/build/building-on-the-command-line?view=msvc-170#create-your-own-command-prompt-shortcut
|
|
|
run: |
|
|
|
call "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvars64.bat"
|
|
|
- cl.exe ${{ matrix.hotreload }} -o nob.exe nob.c
|
|
|
+ cl.exe ${{ matrix.hotreload == true && '/DMUSIALIZER_HOTRELOAD' || '' }} /Fenob nob.c
|
|
|
- name: Run nob
|
|
|
shell: cmd
|
|
|
run: |
|
|
|
call "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvars64.bat"
|
|
|
nob.exe
|
|
|
- name: Upload build folder
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
+ uses: actions/upload-artifact@v4
|
|
|
with:
|
|
|
- name: windows-build-folder
|
|
|
+ name: windows-${{ matrix.hotreload == true && 'hotreload' || '' }}-build-folder
|
|
|
path: build/
|