Add GitHub Action for testing Linux build.

PiperOrigin-RevId: 466797648
This commit is contained in:
Nick Bourdakos
2022-08-10 15:18:44 -07:00
committed by Copybara-Service
parent 07119e80de
commit c48e27d754
13 changed files with 68 additions and 41 deletions
@@ -1,27 +0,0 @@
name: Validate Swift Package
on: [push, pull_request]
env:
FORCE_COLOR: true
jobs:
build:
name: Build
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Build
run: swift build
test:
name: Test
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Test
run: swift test
+57
View File
@@ -0,0 +1,57 @@
name: Validate
on: [push, pull_request]
env:
FORCE_COLOR: true
jobs:
build:
name: Build
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Build
run: swift build
test:
name: Test
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Test
run: swift test
build-swift:
name: Build Swift
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Build
run: swift build
test-swift:
name: Test Swift
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Test
run: swift test
build-linux:
name: Build Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Build
run: CC=clang CXX=clang++ bazel build --check_visibility=false //connections:core --spawn_strategy=standalone