2021-12-13 23:36:50 +08:00
|
|
|
name: ci
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [master]
|
|
|
|
pull_request:
|
|
|
|
branches: [master]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build-nacl:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-12-14 23:35:37 +08:00
|
|
|
- name: Set up Docker Buildx
|
|
|
|
uses: docker/setup-buildx-action@v1
|
|
|
|
- name: Docker Build
|
|
|
|
uses: docker/build-push-action@v2
|
|
|
|
with:
|
|
|
|
file: other/docker/autotools/Dockerfile
|
2021-12-20 09:39:24 +08:00
|
|
|
|
|
|
|
build-win32:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Set up Docker Buildx
|
|
|
|
uses: docker/setup-buildx-action@v1
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Docker Build
|
|
|
|
run: .travis/cmake-win32 install
|
|
|
|
- name: Cross compilation
|
|
|
|
run: .travis/cmake-win32 script
|
|
|
|
|
|
|
|
build-win64:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Set up Docker Buildx
|
|
|
|
uses: docker/setup-buildx-action@v1
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Docker Build
|
|
|
|
run: .travis/cmake-win64 install
|
|
|
|
- name: Cross compilation
|
|
|
|
run: .travis/cmake-win64 script
|