Skip to content

Commit

Permalink
Use self hosted runners
Browse files Browse the repository at this point in the history
  • Loading branch information
tsx committed Jan 29, 2024
1 parent 171f36f commit 22e909e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 156 deletions.
31 changes: 15 additions & 16 deletions .github/workflows/build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:

jobs:
static-code-analysis:
runs-on: ubuntu-20.04
runs-on: arc-amd64-runners
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -44,8 +44,6 @@ jobs:


build:
runs-on: ubuntu-20.04

strategy:
matrix:
include:
Expand All @@ -54,26 +52,27 @@ jobs:
dockerhub_push: false
python_version: "3.7"
run_tests: true
runs-on: arc-amd64-runners
- arch: amd64
build_name: py3.8
dockerhub_push: true
python_version: "3.8"
run_tests: true
runs-on: arc-amd64-runners
- arch: amd64
build_name: py3.9
dockerhub_push: false
python_version: "3.9"
run_tests: true

# The qemu arm64 builds are *very* slow so they are split out into
# their own workflow

# - arch: arm64
# build_name: py3.8
# dockerhub_push: true
# python_version: "3.8"
# run_tests: false

runs-on: arc-amd64-runners
- arch: arm64
build_name: py3.8
dockerhub_push: true
python_version: "3.8"
run_tests: false
runs-on: arc-arm64-runners

runs-on: "${{ matrix.runs-on }}"
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -149,7 +148,7 @@ jobs:
needs:
- build

runs-on: ubuntu-20.04
runs-on: arc-amd64-runners

strategy:
matrix:
Expand Down Expand Up @@ -181,5 +180,5 @@ jobs:
run: |
docker buildx imagetools create \
-t ${{ env.DOCKER_IMAGE_TAG }} \
${{ env.DOCKER_IMAGE_TAG }}-amd64
# ${{ env.DOCKER_IMAGE_TAG }}-arm64
${{ env.DOCKER_IMAGE_TAG }}-amd64 \
${{ env.DOCKER_IMAGE_TAG }}-arm64
140 changes: 0 additions & 140 deletions .github/workflows/build-arm64.yaml

This file was deleted.

0 comments on commit 22e909e

Please sign in to comment.