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

Linux CI Repository Dispatch Test added #509

Merged
merged 10 commits into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/linux-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,16 @@ jobs:
env:
METACALL_BUILD_TYPE: ${{ matrix.build }}
METACALL_BASE_IMAGE: ${{ matrix.image }}

trigger_dist_linux:
needs: linux-test
if: ${{ success() }}
runs-on: ubuntu-latest
steps:
- name: Linux Repository Dispatch
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.G_PERSONAL_ACCESS_TOKEN }}
repository: metacall/distributable-linux
event-type: test-trigger
client-payload: '{"ref": "${{ github.ref }}"}'
13 changes: 13 additions & 0 deletions .github/workflows/macos-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,16 @@ jobs:
bash ../tools/metacall-build.sh $METACALL_BUILD_OPTIONS
env:
METACALL_BUILD_OPTIONS: ${{ matrix.options.build }} tests

trigger_dist_macos:
needs: mac-test
if: ${{ success() }}
runs-on: ubuntu-latest
steps:
- name: MacOS Repository Dispatch
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.G_PERSONAL_ACCESS_TOKEN }}
repository: metacall/distributable-macos
event-type: test-trigger
client-payload: '{"ref": "${{ github.ref }}"}'
13 changes: 13 additions & 0 deletions .github/workflows/windows-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,16 @@ jobs:
run: cmd.exe /c "powershell ..\tools\metacall-build.ps1 $Env:METACALL_BUILD_OPTIONS"
env:
METACALL_BUILD_OPTIONS: ${{ matrix.options.build }} tests

trigger_dist_windows:
needs: windows-test
if: ${{ success() }}
runs-on: ubuntu-latest
steps:
- name: Windows Repository Dispatch
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.G_PERSONAL_ACCESS_TOKEN }}
repository: metacall/distributable-windows
event-type: test-trigger
client-payload: '{"ref": "${{ github.ref }}"}'
Loading