Skip to content

More gh actions fixes #10

More gh actions fixes

More gh actions fixes #10

Workflow file for this run

name: Build Environment
on: [push, pull_request]
env:
PIPENV_ACTIVE: 1
deb_packages: >-
libreadline-dev
libwxgtk3.0-gtk3-dev
wx-common
jobs:
linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
fetch-tags: true

Check failure on line 19 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build Environment

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 19, Col: 7): Unexpected value 'fetch-tags' .github/workflows/build.yml (Line: 41, Col: 7): Unexpected value 'fetch-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@v3
fetch-tags: true
- name: Install dependencies
run: |
brew update
brew install wxmac
- 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
steps:
- uses: actions/checkout@v3
fetch-tags: true
- uses: numworks/setup-msys2@v1
with:
msystem: MSYS32
- run: msys2do pacman --noconfirm -S -noconfirm --noprogressbar
- run: msys2do pacman --noconfirm -U mingw-w64-*-any.pkg.tar.xz
- run: |
set MSYSTEM=MINGW32
msys2do make -j
msys2do make install
bin/bossac --help
- uses: actions/upload-artifact@v3
if: always()
with:
name: windows
path: bin