CI fix #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: SAFOR | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
- develop-* | |
pull_request: | |
branches: | |
- master | |
- develop | |
workflow_dispatch: | |
jobs: | |
build: | |
name: build | |
runs-on: 'windows-2019' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build | |
run: | | |
windres.exe --input SAFOR32.rc --output SAFOR32.res --output-format=coff --target pe-i386 | |
windres.exe --input SAFOR64.rc --output SAFOR64.res --output-format=coff --target pe-x86-64 | |
g++ SAFOR.cpp -o SAFOR64.exe SAFOR64.res -msse2 -Ofast -m64 -std=c++17 -I"." -static -lgdi32 -lcomdlg32 -luuid -luxtheme -lcomctl32 -s | |
g++ SAFOR.cpp -o SAFOR32.exe SAFOR32.res -msse2 -Ofast -m32 -std=c++17 -I"." -static -lgdi32 -lcomdlg32 -luuid -luxtheme -lcomctl32 -s | |
- name: Upload preps | |
run: | | |
dir | |
mkdir SAFOR | |
move SAFOR64.exe SAFOR/SAFOR64.exe | |
move SAFOR32.exe SAFOR/SAFOR32.exe | |
- uses: actions/download-artifact@v4 | |
name: Upload Artifact | |
with: | |
name: SAFOR-${{ matrix.runs-on }} | |
path: SAFOR |