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:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Install dependencies
|
2021-02-28 07:52:10 +03:00
|
|
|
run: sudo apt update && sudo apt install ninja-build pkg-config libnss3-dev qemu-user
|
2021-02-28 06:44:08 +03:00
|
|
|
- name: Configure
|
|
|
|
working-directory: src
|
|
|
|
run: ./get-clang.sh
|
2021-02-28 08:35:00 +03:00
|
|
|
- name: Save artifacts
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
name: artifacts
|
2021-02-28 08:57:58 +03:00
|
|
|
path: src/out/sysroot-build/sid/sid_i386_staging
|