Run corpus tests on other platforms.

This commit is contained in:
dg
2023-05-07 11:56:32 +00:00
parent 638f6928cf
commit 8c77af651b

View File

@@ -16,23 +16,30 @@ jobs:
path: 'fluxengine-testdata' path: 'fluxengine-testdata'
- name: apt - name: apt
run: sudo apt update && sudo apt install libudev-dev libsqlite3-dev protobuf-compiler libwxgtk3.0-gtk3-dev libfmt-dev run: sudo apt update && sudo apt install libudev-dev libsqlite3-dev protobuf-compiler libwxgtk3.0-gtk3-dev libfmt-dev
- name: make -j2 -C fluxengine - name: make
run: CXXFLAGS="-Wp,-D_GLIBCXX_ASSERTIONS" make -j2 run: CXXFLAGS="-Wp,-D_GLIBCXX_ASSERTIONS" make -j2 -C fluxengine
build-macos-current: build-macos-current:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with:
repository: 'davidgiven/fluxengine'
path: 'fluxengine'
- uses: actions/checkout@v2
with:
repository: 'davidgiven/fluxengine-testdata'
path: 'fluxengine-testdata'
- name: brew - name: brew
run: brew install sqlite pkg-config libusb protobuf wxwidgets fmt make coreutils dylibbundler libjpeg run: brew install sqlite pkg-config libusb protobuf wxwidgets fmt make coreutils dylibbundler libjpeg
- name: make - name: make
run: gmake -j2 run: gmake -j2 -C fluxengine
- name: Upload build artifacts - name: Upload build artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: ${{ github.event.repository.name }}.${{ github.sha }} name: ${{ github.event.repository.name }}.${{ github.sha }}
path: FluxEngine.pkg path: fluxengine.FluxEngine.pkg
build-windows: build-windows:
runs-on: windows-latest runs-on: windows-latest
@@ -58,22 +65,31 @@ jobs:
mingw-w64-i686-nsis mingw-w64-i686-nsis
zip zip
vim vim
- uses: actions/checkout@v1 - uses: actions/checkout@v2
with:
repository: 'davidgiven/fluxengine'
path: 'fluxengine'
- uses: actions/checkout@v2
with:
repository: 'davidgiven/fluxengine-testdata'
path: 'fluxengine-testdata'
- name: build - name: build
run: make -j2 run: make -j2 -C fluxengine
- name: nsis - name: nsis
run: | run: |
cd fluxengine
strip fluxengine.exe -o fluxengine-stripped.exe strip fluxengine.exe -o fluxengine-stripped.exe
strip fluxengine-gui.exe -o fluxengine-gui-stripped.exe strip fluxengine-gui.exe -o fluxengine-gui-stripped.exe
makensis -v2 -nocd -dOUTFILE=fluxengine-installer.exe extras/windows-installer.nsi makensis -v2 -nocd -dOUTFILE=fluxengine-installer.exe extras/windows-installer.nsi
- name: zip - name: zip
run: | run: |
cd fluxengine
zip -9 fluxengine-windows.zip fluxengine.exe fluxengine-gui.exe upgrade-flux-file.exe brother120tool.exe brother240tool.exe FluxEngine.cydsn/CortexM3/ARM_GCC_541/Release/FluxEngine.hex fluxengine-installer.exe zip -9 fluxengine-windows.zip fluxengine.exe fluxengine-gui.exe upgrade-flux-file.exe brother120tool.exe brother240tool.exe FluxEngine.cydsn/CortexM3/ARM_GCC_541/Release/FluxEngine.hex fluxengine-installer.exe
- name: Upload build artifacts - name: Upload build artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: ${{ github.event.repository.name }}.${{ github.sha }} name: ${{ github.event.repository.name }}.${{ github.sha }}
path: fluxengine-windows.zip path: fluxengine/fluxengine-windows.zip