Skip to content

Commit

Permalink
simplified CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Sayter99 committed Jan 29, 2024
1 parent 21c3d7e commit eedbf35
Showing 1 changed file with 81 additions and 81 deletions.
162 changes: 81 additions & 81 deletions .github/workflows/bazel_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ on:
push: {}

jobs:
build_and_test_ubuntu20:
name: Linux Ubuntu 20.04 build <GCC 9.4.0>
runs-on: ubuntu-20.04
# build_and_test_ubuntu20:
# name: Linux Ubuntu 20.04 build <GCC 9.4.0>
# runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3
# steps:
# - uses: actions/checkout@v3

- name: Mount bazel cache
uses: actions/cache@v3
with:
path: "/home/runner/.cache/bazel"
key: bazel
# - name: Mount bazel cache
# uses: actions/cache@v3
# with:
# path: "/home/runner/.cache/bazel"
# key: bazel

- name: Build
run: |
cd tests
bazelisk build --config=gcc9 //...
# - name: Build
# run: |
# cd tests
# bazelisk build --config=gcc9 //...

build_and_test_ubuntu22:
name: Linux Ubuntu 22.04 build <GCC 11.3.0>
Expand All @@ -41,23 +41,23 @@ jobs:
cd tests
bazelisk build --config=gcc11 //...
build_and_test_windows10:
name: Windows Server 2019 build <Visual Studio 2019>
runs-on: windows-2019
# build_and_test_windows10:
# name: Windows Server 2019 build <Visual Studio 2019>
# runs-on: windows-2019

steps:
- uses: actions/checkout@v3
# steps:
# - uses: actions/checkout@v3

- name: Mount bazel cache
uses: actions/cache@v3
with:
path: "/home/runner/.cache/bazel"
key: bazel
# - name: Mount bazel cache
# uses: actions/cache@v3
# with:
# path: "/home/runner/.cache/bazel"
# key: bazel

- name: Build
run: |
cd tests
bazelisk build --config=vs2019 //...
# - name: Build
# run: |
# cd tests
# bazelisk build --config=vs2019 //...

build_and_test_windows11:
name: Windows Server 2022 build <Visual Studio 2022>
Expand All @@ -77,61 +77,61 @@ jobs:
cd tests
bazelisk build --config=vs2022 //...
build_and_test_macos11:
name: macOS 11 Bazel build <Apple Clang13>
runs-on: macOS-11

steps:
- uses: actions/checkout@v3

- name: Mount bazel cache
uses: actions/cache@v3
with:
path: "/home/runner/.cache/bazel"
key: bazel

- name: Print info
run: |
echo "OS info:"
sw_vers
uname
echo "Compiler info:"
clang --version
# build_and_test_macos11:
# name: macOS 11 Bazel build <Apple Clang13>
# runs-on: macOS-11

# steps:
# - uses: actions/checkout@v3

# - name: Mount bazel cache
# uses: actions/cache@v3
# with:
# path: "/home/runner/.cache/bazel"
# key: bazel

# - name: Print info
# run: |
# echo "OS info:"
# sw_vers
# uname
# echo "Compiler info:"
# clang --version

- name: Build
run: |
brew install qt@6
#brew link qt@6
cd tests
bazelisk build --config=macos //...
build_and_test_macos12:
name: macOS 12 Bazel build <Apple Clang14>
runs-on: macOS-12

steps:
- uses: actions/checkout@v3

- name: Mount bazel cache
uses: actions/cache@v3
with:
path: "/home/runner/.cache/bazel"
key: bazel

- name: Print info
run: |
echo "OS info:"
sw_vers
uname
echo "Compiler info:"
clang --version
# - name: Build
# run: |
# brew install qt@6
# #brew link qt@6
# cd tests
# bazelisk build --config=macos //...

# build_and_test_macos12:
# name: macOS 12 Bazel build <Apple Clang14>
# runs-on: macOS-12

# steps:
# - uses: actions/checkout@v3

# - name: Mount bazel cache
# uses: actions/cache@v3
# with:
# path: "/home/runner/.cache/bazel"
# key: bazel

# - name: Print info
# run: |
# echo "OS info:"
# sw_vers
# uname
# echo "Compiler info:"
# clang --version

- name: Build
run: |
brew install qt@6
#brew link qt@6
cd tests
bazelisk build --config=macos //...
# - name: Build
# run: |
# brew install qt@6
# #brew link qt@6
# cd tests
# bazelisk build --config=macos //...

build_and_test_macos13:
name: macOS 13 Bazel build <Apple Clang14>
Expand Down

0 comments on commit eedbf35

Please sign in to comment.