Skip to content

Commit

Permalink
Readd runners to run on macos12
Browse files Browse the repository at this point in the history
  • Loading branch information
msaggiorato committed Jan 30, 2024
1 parent 90d1a6b commit d074db9
Showing 1 changed file with 119 additions and 0 deletions.
119 changes: 119 additions & 0 deletions .github/workflows/vvv-provisioning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,122 @@ jobs:
with:
name: logs-on-docker
path: "${{ github.workspace }}/log"

# This workflow contains a single job called "build"
on-stable:
name: MacOS 10.15 Stable Reprovision
# The type of runner that the job will run on
runs-on: macos-12

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
with:
ref: stable

- name: Cache Vagrant boxes
uses: actions/cache@v3
with:
path: ~/.vagrant.d/boxes
key: ${{ runner.os }}-vagrant-${{ hashFiles('Vagrantfile') }}
restore-keys: |
${{ runner.os }}-vagrant-
- name: install goodhosts
run: vagrant plugin install --local

- name: vagrant up (stable)
run: vagrant up

- uses: actions/checkout@v4
with:
clean: false

- name: vagrant up (current branch)
run: vagrant up --provision

- name: tests
run: provision/tests/macos-tests.sh

- uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: logs-on-stable
path: "${{ github.workspace }}/log"

on-develop:
name: MacOS 10.15 Develop Reprovision
# The type of runner that the job will run on
runs-on: macos-12

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
with:
ref: develop

- name: Cache Vagrant boxes
uses: actions/cache@v3
with:
path: ~/.vagrant.d/boxes
key: ${{ runner.os }}-vagrant-${{ hashFiles('Vagrantfile') }}
restore-keys: |
${{ runner.os }}-vagrant-
- name: install goodhosts
run: vagrant plugin install --local

- name: vagrant up (develop)
run: vagrant up

- uses: actions/checkout@v4
with:
clean: false

- name: vagrant up (current branch)
run: vagrant up --provision

- name: tests
run: provision/tests/macos-tests.sh

- uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: logs-on-develop
path: "${{ github.workspace }}/log"

on-clean:
name: MacOS 10.15 Clean Provision
# The type of runner that the job will run on
runs-on: macos-12

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4

- name: Cache Vagrant boxes
uses: actions/cache@v3
with:
path: ~/.vagrant.d/boxes
key: ${{ runner.os }}-vagrant-${{ hashFiles('Vagrantfile') }}
restore-keys: |
${{ runner.os }}-vagrant-
- name: install goodhosts
run: vagrant plugin install --local

- name: vagrant up (current branch)
run: vagrant up

- name: tests
run: provision/tests/macos-tests.sh

- uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: logs-on-clean
path: "${{ github.workspace }}/log"

0 comments on commit d074db9

Please sign in to comment.