improve add_files #176
This file contains hidden or 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: Ubuntu (Arm64) | |
| on: | |
| pull_request: | |
| push: | |
| release: | |
| types: [published] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-UbuntuArm64 | |
| cancel-in-progress: true | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| submodules: true | |
| - run: | | |
| docker run --rm --privileged multiarch/qemu-user-static:register --reset | |
| - uses: docker://multiarch/ubuntu-core:arm64-bionic | |
| with: | |
| args: > | |
| bash -c | |
| "uname -a && | |
| apt update && apt install -y git build-essential ninja-build && | |
| cd /github/workspace && | |
| ./configure && | |
| make && make run && | |
| rm -rf build && | |
| ./configure --generator=ninja --builddir=build-ninja && | |
| ninja && | |
| ninja run" | |