Skip to content

Commit

Permalink
add in mingw
Browse files Browse the repository at this point in the history
  • Loading branch information
adminfriso committed Mar 7, 2024
1 parent 458b6fc commit b44e307
Showing 1 changed file with 17 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
name: build-msys2

# make the action not run on the local repo if the branch is also in a pull request to OF/OF
on:
push:
if: github.event_name == 'push' && github.event.pull_request == null
paths-ignore:
- '**/*.md'
- 'examples/**'
pull_request:
if: github.event_name == 'pull_request' && github.repository == 'openframeworks/openFrameworks'
paths-ignore:
- '**/*.md'
- 'examples/**'
on: [push]

env:
ccache: ccache
Expand All @@ -32,8 +22,22 @@ jobs:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v4
- name: ccache
- name: checkout openframeworks
uses: actions/checkout@v4
with:
repository: openframeworks/openFrameworks
# now we add in ofxLaser as addon
- name: checkout ofxLaser
uses: actions/checkout@v4
with:
path: ${{ github.workspace }}/addons/ofxLaser
# and here we replace the empty example with the hello laser example
- name: remove emptyExample
run: rm -r ${{ github.workspace }}/examples/templates/emptyExample
- name: replace emptyExample with example_HelloLaser
run: cp -r ${{ github.workspace }}/addons/ofxLaser/example_HelloLaser ${{ github.workspace }}/examples/templates/emptyExample

# continue openframeworks defined pipeline - name: ccache
uses: hendrikmuhs/ccache-action@v1.2.12
with:
# key: ${{ matrix.os }}-${{ matrix.type }}
Expand Down

0 comments on commit b44e307

Please sign in to comment.