2021-02-28 06:44:08 +03:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
release:
|
|
|
|
types:
|
|
|
|
- created
|
|
|
|
jobs:
|
|
|
|
linux:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2021-02-28 08:11:51 +03:00
|
|
|
target_cpu: [x86]
|
2021-02-28 06:44:08 +03:00
|
|
|
env:
|
|
|
|
EXTRA_FLAGS: 'target_cpu="${{ matrix.target_cpu }}"'
|
|
|
|
steps:
|
2021-02-28 09:37:22 +03:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: sudo apt update && sudo apt install ninja-build pkg-config libnss3-dev qemu-user strace
|
|
|
|
- run: ./get-clang.sh
|
|
|
|
working-directory: src
|
|
|
|
- run: ./build.sh
|
|
|
|
working-directory: src
|
|
|
|
- run: strace -f qemu-i386 -L src/out/sysroot-build/sid/sid_i386_staging src/out/Release/naive --help
|