More gh actions fixes #27
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: Build Environment | |
on: [push, pull_request] | |
env: | |
PIPENV_ACTIVE: 1 | |
deb_packages: >- | |
libreadline-dev | |
libwxgtk3.0-gtk3-dev | |
wx-common | |
wx3.0-headers | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Fetch tags | |
run: git fetch --prune --unshallow --tags | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y ${{ env.deb_packages }} | |
- name: Build | |
run: | | |
make -j | |
make install | |
bin/bossac --help | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: linux | |
path: bin | |
macos: | |
runs-on: macOS-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Fetch tags | |
run: git fetch --prune --unshallow --tags | |
- name: Install dependencies | |
run: | | |
brew update | |
brew install wxwidgets | |
- name: Build | |
run: | | |
make -j | |
make install | |
bin/bossac --help | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: macos | |
path: bin | |
windows: | |
runs-on: windows-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- { sys: mingw32, env: i686 } | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Fetch tags | |
run: git fetch --prune --unshallow --tags | |
- uses: msys2/setup-msys2@v2 | |
with: | |
msystem: ${{matrix.sys}} | |
install: >- | |
base-devel | |
git | |
pacboy: >- | |
toolchain | |
wxwidgets3.2-* | |
- name: Build | |
shell: msys2 {0} | |
run: | | |
set MSYSTEM=MINGW32 | |
mingw32-make -j | |
mingw32-make install | |
bin/bossac --help | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: windows | |
path: bin |