mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 14:26:09 +03:00
34 lines
836 B
YAML
34 lines
836 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
release:
|
|
types:
|
|
- created
|
|
jobs:
|
|
linux:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
target_cpu: [x86]
|
|
env:
|
|
EXTRA_FLAGS: 'target_cpu="${{ matrix.target_cpu }}"'
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install dependencies
|
|
run: sudo apt update && sudo apt install ninja-build pkg-config libnss3-dev qemu-user
|
|
- name: Configure
|
|
working-directory: src
|
|
run: ./get-clang.sh
|
|
- name: Build
|
|
working-directory: src
|
|
run: ./build.sh
|
|
- run: tar cf sysroot.tar src/out/sysroot-build/sid/sid_i386_staging
|
|
- name: Save artifacts
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: artifacts
|
|
path: |
|
|
sysroot.tar
|
|
src/out/Release/naive
|