diff --git a/.github/workflows/macos-monterey-build-tools.yml b/.github/workflows/macos12-monterey-build-tools.yml similarity index 90% rename from .github/workflows/macos-monterey-build-tools.yml rename to .github/workflows/macos12-monterey-build-tools.yml index f66a03c7..26855ed1 100644 --- a/.github/workflows/macos-monterey-build-tools.yml +++ b/.github/workflows/macos12-monterey-build-tools.yml @@ -1,6 +1,6 @@ name: macOS Monterey Build Tools -on: [push, pull_request] +on: [pull_request] jobs: macos-monterey-ci: @@ -20,5 +20,5 @@ jobs: which pip3 which python3 python3 --version - export PATH=$PATH:/Users/runner/Library/Python/3.11/bin + export PATH=$PATH:/Users/runner/Library/Python/3.11/bin:/Users/runner/Library/Python/3.12/bin colcon graph diff --git a/.github/workflows/macos-monterey-ci.yml b/.github/workflows/macos12-monterey-ci.yml similarity index 100% rename from .github/workflows/macos-monterey-ci.yml rename to .github/workflows/macos12-monterey-ci.yml diff --git a/.github/workflows/macos13-ventura-build-tools.yml b/.github/workflows/macos13-ventura-build-tools.yml new file mode 100644 index 00000000..2c82a367 --- /dev/null +++ b/.github/workflows/macos13-ventura-build-tools.yml @@ -0,0 +1,24 @@ +name: macOS Ventura Build Tools + +on: [pull_request] + +jobs: + macos-ventura-ci: + runs-on: macos-13 + name: macOS Ventura Build Tools + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Install Build Tools + run: | + pip3 install --user vcstool + pip3 install --user colcon-common-extensions + + - name: Check Build Tools + run: | + which pip3 + which python3 + python3 --version + export PATH=$PATH:/Users/runner/Library/Python/3.11/bin:/Users/runner/Library/Python/3.12/bin + colcon graph diff --git a/.github/workflows/macos13-ventura-ci.yml b/.github/workflows/macos13-ventura-ci.yml new file mode 100644 index 00000000..bc644907 --- /dev/null +++ b/.github/workflows/macos13-ventura-ci.yml @@ -0,0 +1,42 @@ +name: macOS Ventura CI + +on: [pull_request] + +jobs: + macos-ventura-ci: + runs-on: macos-13 + name: macOS Ventura CI + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Cache brew packages + id: cache-brew-packages + uses: actions/cache@v3 + with: + path: | + /usr/local/Cellar + /usr/local/Frameworks + /usr/local/Homebrew + /usr/local/bin + /usr/local/lib + /usr/local/opt + /usr/local/share + key: macos-build-cache-${{ hashFiles('./.github/scripts/brew_install_deps.sh') }} + + - name: Install brew packages + run: | + bash ./.github/scripts/brew_install_deps.sh + + - name: Install Build Tools + run: | + python3 -m pip install --user vcstool + python3 -m pip install --user colcon-common-extensions + + - name: Build Wave Sim + run: | + bash ./.github/scripts/macos_build.sh + + - name: Test Wave Sim + run: | + bash ./.github/scripts/macos_test.sh diff --git a/.github/workflows/macos14-sonoma-build-tools.yml b/.github/workflows/macos14-sonoma-build-tools.yml new file mode 100644 index 00000000..6ef838d9 --- /dev/null +++ b/.github/workflows/macos14-sonoma-build-tools.yml @@ -0,0 +1,24 @@ +name: macOS Sonoma Build Tools + +on: [pull_request] + +jobs: + macos-sonoma-ci: + runs-on: macos-14 + name: macOS Sonoma Build Tools + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Install Build Tools + run: | + pip3 install --user vcstool + pip3 install --user colcon-common-extensions + + - name: Check Build Tools + run: | + which pip3 + which python3 + python3 --version + export PATH=$PATH:/Users/runner/Library/Python/3.11/bin:/Users/runner/Library/Python/3.12/bin + colcon graph diff --git a/.github/workflows/macos14-sonoma-ci.yml b/.github/workflows/macos14-sonoma-ci.yml new file mode 100644 index 00000000..1f7f5094 --- /dev/null +++ b/.github/workflows/macos14-sonoma-ci.yml @@ -0,0 +1,42 @@ +name: macOS Sonoma CI + +on: [pull_request] + +jobs: + macos-sonoma-ci: + runs-on: macos-14 + name: macOS Sonoma CI + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Cache brew packages + id: cache-brew-packages + uses: actions/cache@v3 + with: + path: | + /usr/local/Cellar + /usr/local/Frameworks + /usr/local/Homebrew + /usr/local/bin + /usr/local/lib + /usr/local/opt + /usr/local/share + key: macos-build-cache-${{ hashFiles('./.github/scripts/brew_install_deps.sh') }} + + - name: Install brew packages + run: | + bash ./.github/scripts/brew_install_deps.sh + + - name: Install Build Tools + run: | + python3 -m pip install --user vcstool + python3 -m pip install --user colcon-common-extensions + + - name: Build Wave Sim + run: | + bash ./.github/scripts/macos_build.sh + + - name: Test Wave Sim + run: | + bash ./.github/scripts/macos_test.sh