Skip to content

merge dev (#5)

merge dev (#5) #408

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Build
strategy:
fail-fast: false
matrix:
target: [
{ os: macos, runner: mac, },
{ os: windows , runner: windows-latest },
{ os: ios, runner: mac },
{ os: android, runner: ubuntu-latest },
]
runs-on: ${{ matrix.target.runner }}
steps:
- uses: actions/checkout@v4
with:
token: ${{secrets.GITHUB_TOKEN}}
submodules: recursive
- name: Free Space
if: ${{ matrix.target.os != 'windows' }}
run: ./build/scripts/free_action_runner.sh
- name: Build
if: ${{ matrix.target.os != 'windows' }}
run: ./build/build.sh ${{ matrix.target.os }}
- name: Build windows
if: ${{ matrix.target.os == 'windows' }}
run: py build/build.py
- name: Test
if: ${{ matrix.target.os != 'ios' && matrix.target.os != 'android' }}
run: make test
linux:
name: Build Linux
strategy:
fail-fast: false
matrix:
target: [
{ container: "ubuntu" },
{ container: "debian" },
{ container: "fedora" },
{ container: "archlinux" },
{ container: "manjarolinux/base" },
{ container: "amazonlinux" },
{ container: "dockerscripts/linuxmint:cinnamon-minimal" },
]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{secrets.GITHUB_TOKEN}}
submodules: recursive
- name: Free Space
run: ./build/scripts/free_action_runner.sh
- name: Build
run: echo ${{ matrix.target.container }} && ./build/in_docker.sh ${{ matrix.target.container }}