2021-12-13 23:36:50 +08:00
|
|
|
name: ci
|
|
|
|
|
|
|
|
on:
|
|
|
|
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
|
2021-12-21 00:57:11 +08:00
|
|
|
|
2021-12-23 23:44:48 +08:00
|
|
|
build-freebsd:
|
2021-12-21 00:57:11 +08:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container: toxchat/freebsd
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Build on FreeBSD
|
2021-12-21 18:43:02 +08:00
|
|
|
run: .travis/cmake-freebsd-stage2
|
2021-12-29 07:25:34 +08:00
|
|
|
|
|
|
|
build-macos:
|
|
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Build and test
|
|
|
|
run: .travis/cmake-osx
|