Skip to content

Commit

Permalink
Update GitHub workflows (#1165)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulthomson authored Sep 28, 2021
1 parent e25b097 commit 1fcfc78
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 43 deletions.
21 changes: 3 additions & 18 deletions .github/workflows/gfauto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
matrix:
os:
- ubuntu-16.04
- ubuntu-18.04
- windows-latest
python-version:
- 3.6
Expand All @@ -37,26 +37,11 @@ jobs:
runs-on: ${{ matrix.os }}
steps:

- name: get_actions
run: |
mkdir -p ./../.github/actions/
pushd ./../.github/actions/
git clone https://github.com/actions/setup-python.git
pushd setup-python/
git checkout v2
popd
git clone https://github.com/actions/checkout.git
pushd checkout/
git checkout v2
popd
popd
shell: bash

- name: checkout
uses: ./../.github/actions/checkout
uses: actions/checkout@v2

- name: setup_python
uses: ./../.github/actions/setup-python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
Expand Down
30 changes: 5 additions & 25 deletions .github/workflows/graphicsfuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
fail-fast: false
matrix:
os:
- ubuntu-16.04
- ubuntu-18.04
- windows-latest
- macOS-latest
python-version:
Expand All @@ -40,42 +40,22 @@ jobs:
runs-on: ${{ matrix.os }}
steps:

- name: get_actions
run: |
mkdir -p ./../.github/actions/
pushd ./../.github/actions/
git clone https://github.com/actions/setup-python.git
pushd setup-python/
git checkout v2
popd
git clone https://github.com/actions/checkout.git
pushd checkout/
git checkout v2
popd
git clone https://github.com/actions/setup-java.git
pushd setup-java/
git checkout v1
popd
popd
shell: bash

- name: checkout
uses: ./../.github/actions/checkout
uses: actions/checkout@v2

- name: setup_python
uses: ./../.github/actions/setup-python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64

- name: setup_java
uses: ./../.github/actions/setup-java
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: ${{ matrix.java-version }}
java-package: jdk
architecture: x64


- name: build_step_nix
run: |
.github/workflows/graphicsfuzz.sh
Expand Down

0 comments on commit 1fcfc78

Please sign in to comment.