From 3845b1eff4d8e0cd493fff90730dfcd5499ddbaf Mon Sep 17 00:00:00 2001 From: kinichiro Date: Fri, 21 May 2021 21:02:17 +0900 Subject: Use github actions for linux test --- .github/workflows/linux_test.yml | 64 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 .github/workflows/linux_test.yml (limited to '.github/workflows') diff --git a/.github/workflows/linux_test.yml b/.github/workflows/linux_test.yml new file mode 100644 index 0000000..c205545 --- /dev/null +++ b/.github/workflows/linux_test.yml @@ -0,0 +1,64 @@ +name: linux_ci + +on: [push] + +jobs: + build-native: + strategy: + matrix: + os: [macos-latest, ubuntu-18.04] + compiler: [clang, gcc] + runs-on: ${{ matrix.os }} + continue-on-error: true + env: + CC: ${{ matrix.compiler }} + ARCH: native + name: ${{ matrix.compiler }} - ${{ matrix.os }} + steps: + - name: Install packages for macos + if: matrix.os == 'macos-latest' + run: brew install automake + - uses: actions/checkout@v2 + - name: Run CI script + run: ./scripts/travis + + build-other: + strategy: + matrix: + arch: [mingw32, mingw64, arm32, arm64] + runs-on: ubuntu-18.04 + continue-on-error: true + env: + CC: gcc + ARCH: ${{ matrix.arch }} + name: ${{ matrix.arch }} + steps: + - uses: actions/checkout@v2 + - name: Run CI script + run: ./scripts/travis + + build-android-8-9: + runs-on: ubuntu-18.04 + continue-on-error: true + env: + ARCH: android + MIN_NAL: 26 + MAX_NAL: 28 + name: Android 8.x 9 + steps: + - uses: actions/checkout@v2 + - name: Run CI script + run: ./scripts/travis + + build-android-10-11: + runs-on: ubuntu-18.04 + continue-on-error: true + env: + ARCH: android + MIN_NAL: 29 + MAX_NAL: 30 + name: Android 10 11 + steps: + - uses: actions/checkout@v2 + - name: Run CI script + run: ./scripts/travis -- cgit v1.2.3-55-g6feb