cleanup / format main.c #760
This file contains 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: 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 | |