Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create sandbox.yml #6

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
57 changes: 57 additions & 0 deletions .github/workflows/sandbox-mac.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: ⛱️🕹️ Sandbox Mac Test

on:
workflow_dispatch:
push:
branches:
- 'long_lived/**'
- main
- 'release/**'
release:
types: [published]
pull_request:
branches:
- '**'

concurrency:
# SHA is added to the end if on `main` to let all main workflows run
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}
cancel-in-progress: true

jobs:
engines-churnin:
name: Testin Thangs
runs-on: macos-12
timeout-minutes: 120
strategy:
fail-fast: false
max-parallel: 4
matrix:
python-version: [3.8]

steps:
- name: Install Things
shell: bash
run: |
packagesNeeded='curl jq'
if [ -x "$(command -v apk)" ]; then
sudo apk add --no-cache $packagesNeeded
elif [ -x "$(command -v apt-get)" ]; then
sudo apt-get update && sudo apt-get install -y $packagesNeeded
elif [ -x "$(command -v dnf)" ]; then
sudo dnf install -y $packagesNeeded
elif [ -x "$(command -v zypper)" ]; then
sudo zypper install -n $packagesNeeded
elif [ -x "$(command -v pacman)" ]; then
sudo pacman -S --needed --noconfirm $packagesNeeded
elif [ -x "$(command -v brew)" ]; then
brew install $packagesNeeded
elif [ -x "$(command -v chocolatey)" ]; then
choco install -y $packagesNeeded
else
echo "FAILED TO INSTALL PACKAGE: Package manager not found. You must manually install: $packagesNeeded" >&2
fi

- name: Use Tools
run: |
curl -s https://www.githubstatus.com/api/v2/status.json | jq -r '.status.description'
52 changes: 52 additions & 0 deletions .github/workflows/sandbox-win.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: ⛱️🕹️ Sandbox Windows Test 1

on:
workflow_dispatch:
push:
branches:
- 'long_lived/**'
- main
- 'release/**'
release:
types: [published]
pull_request:
branches:
- '**'

concurrency:
# SHA is added to the end if on `main` to let all main workflows run
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}
cancel-in-progress: true

jobs:
engines-churnin:
name: Testin Thangs
runs-on: windows-2019
timeout-minutes: 120

steps:
- name: Install Things
shell: bash
run: |
packagesNeeded='curl jq'
if [ -x "$(command -v apk)" ]; then
sudo apk add --no-cache $packagesNeeded
elif [ -x "$(command -v apt-get)" ]; then
sudo apt-get update && sudo apt-get install -y $packagesNeeded
elif [ -x "$(command -v dnf)" ]; then
sudo dnf install -y $packagesNeeded
elif [ -x "$(command -v zypper)" ]; then
sudo zypper install -n $packagesNeeded
elif [ -x "$(command -v pacman)" ]; then
sudo pacman -S --needed --noconfirm $packagesNeeded
elif [ -x "$(command -v brew)" ]; then
yes | sudo brew install $packagesNeeded
elif [ -x "$(command -v chocolatey)" ]; then
choco install -y $packagesNeeded
else
echo "FAILED TO INSTALL PACKAGE: Package manager not found. You must manually install: $packagesNeeded" >&2
fi

- name: Use Tools
run: |
curl -s https://www.githubstatus.com/api/v2/status.json | jq -r '.status.description'
52 changes: 52 additions & 0 deletions .github/workflows/sandbox-win2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: ⛱️🕹️ Sandbox Windows Test 2

on:
workflow_dispatch:
push:
branches:
- 'long_lived/**'
- main
- 'release/**'
release:
types: [published]
pull_request:
branches:
- '**'

concurrency:
# SHA is added to the end if on `main` to let all main workflows run
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}
cancel-in-progress: true

jobs:
engines-churnin:
name: Testin Thangs
runs-on: windows-2022
timeout-minutes: 120

steps:
- name: Install Things
shell: bash
run: |
packagesNeeded='curl jq'
if [ -x "$(command -v apk)" ]; then
sudo apk add --no-cache $packagesNeeded
elif [ -x "$(command -v apt-get)" ]; then
sudo apt-get update && sudo apt-get install -y $packagesNeeded
elif [ -x "$(command -v dnf)" ]; then
sudo dnf install -y $packagesNeeded
elif [ -x "$(command -v zypper)" ]; then
sudo zypper install -n $packagesNeeded
elif [ -x "$(command -v pacman)" ]; then
sudo pacman -S --needed --noconfirm $packagesNeeded
elif [ -x "$(command -v brew)" ]; then
yes | sudo brew install $packagesNeeded
elif [ -x "$(command -v chocolatey)" ]; then
choco install -y $packagesNeeded
else
echo "FAILED TO INSTALL PACKAGE: Package manager not found. You must manually install: $packagesNeeded" >&2
fi

- name: Use Tools
run: |
curl -s https://www.githubstatus.com/api/v2/status.json | jq -r '.status.description'
58 changes: 58 additions & 0 deletions .github/workflows/sandbox.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: ⛱️🕹️ Sandbobox Linux Test

on:
workflow_dispatch:
push:
branches:
- 'long_lived/**'
- main
- 'release/**'
release:
types: [published]
pull_request:
branches:
- '**'

concurrency:
# SHA is added to the end if on `main` to let all main workflows run
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}
cancel-in-progress: true

jobs:
engines-churnin:
name: Testin Thangs
runs-on: ubuntu-latest
timeout-minutes: 120
strategy:
fail-fast: false
max-parallel: 4
matrix:
python-version: [3.8]

steps:
- name: Checkout Test
uses: actions/checkout
- name: Install Things
run: |
packagesNeeded='curl jq'
if [ -x "$(command -v apk)" ]; then
sudo apk add --no-cache $packagesNeeded
elif [ -x "$(command -v apt-get)" ]; then
sudo apt-get update && sudo apt-get install -y $packagesNeeded
elif [ -x "$(command -v dnf)" ]; then
sudo dnf install -y $packagesNeeded
elif [ -x "$(command -v zypper)" ]; then
sudo zypper install -n $packagesNeeded
elif [ -x "$(command -v pacman)" ]; then
sudo pacman -S --needed --noconfirm $packagesNeeded
elif [ -x "$(command -v brew)" ]; then
yes | sudo brew install $packagesNeeded
elif [ -x "$(command -v chocolatey)" ]; then
choco install -y $packagesNeeded
else
echo "FAILED TO INSTALL PACKAGE: Package manager not found. You must manually install: $packagesNeeded" >&2
fi

- name: Use Tools
run: |
curl -s https://www.githubstatus.com/api/v2/status.json | jq -r '.status.description'
Loading