-
Notifications
You must be signed in to change notification settings - Fork 180
35 lines (34 loc) · 1.19 KB
/
linuxbuild.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Build for Linux
on: [ push, pull_request ]
jobs:
build_linux:
name: CI for Linux
runs-on: ubuntu-latest
container: ubuntu:16.04
steps:
- name: Install dependencies for Linux
run: |
apt-get -qq update
apt-get install -y -qq autopoint automake autoconf intltool libc6-dev yasm libglib2.0-bin perl wget zip bzip2 make libtool pkg-config fakeroot clang openssh-client rsync
sed -i 's/mozilla\/DST_Root_CA_X3\.crt/\!mozilla\/DST_Root_CA_X3\.crt/' /etc/ca-certificates.conf
update-ca-certificates
- name: Checkout for Linux
uses: actions/checkout@v1
with:
submodules: true
- name: Fetch static-deps
run: travis/download-linux-static-deps.sh
- name: Run Tests
run: scripts/test.sh
- name: Build for Linux
run: TRAVIS_OS_NAME=linux travis/build.sh
- name: Upload for Linux
env:
gh_ed25519_key: ${{ secrets.GH_ENCRYPTED_ED25519_KEY }}
gh_ed25519_iv: ${{ secrets.GH_ENCRYPTED_ED25519_IV }}
run: TRAVIS_OS_NAME=linux travis/upload.sh
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: linux
path: portable_out/build/*.tar.bz2