Skip to content

Commit

Permalink
Amended workflow 'on' trigger; adjusted runner architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
clyde-johnston committed Jun 25, 2023
1 parent eea9821 commit f45aa6a
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/make-release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: 'PyDSDL application builder'

# Builds OpenCyphal PyDSDL release
# Runs pydsdl-test job on push to any branch and pull request to master and
# runs both the pydsdl-test and pydsdl-release jobs on push to master branch
on:
push:
branches:
- master
- '**'
pull_request:
branches:
- master
Expand All @@ -15,9 +16,6 @@ concurrency:
cancel-in-progress: true

jobs:
#
# PyDSDL test
#
pydsdl-test:
name: Test PyDSDL
strategy:
Expand All @@ -26,8 +24,8 @@ jobs:
os: [ubuntu-20.04]
python: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11']
include:
#- os: windows-2019
# python: '3.10'
- os: windows-2019
python: '3.10'
- os: macos-latest
python: '3.9'
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -79,9 +77,6 @@ jobs:
python -c "import pydsdl; pydsdl.read_namespace('.dsdl-test/uavcan', [])"
shell: bash

#
# Create release
#
pydsdl-release:
name: Release PyDSDL
if: (github.event_name == 'push') && (github.ref == 'refs/heads/master')
Expand Down

0 comments on commit f45aa6a

Please sign in to comment.