-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update distributable dispatch workflows.
- Loading branch information
Showing
5 changed files
with
87 additions
and
113 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,3 +35,45 @@ jobs: | |
env: | ||
METACALL_BUILD_TYPE: ${{ matrix.build }} | ||
METACALL_BASE_IMAGE: ${{ matrix.image }} | ||
|
||
linux-sanitizer-test: | ||
name: Linux GCC Sanitizer Test | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
image: ["debian:trixie-slim", "debian:bookworm-slim", "ubuntu:noble", "ubuntu:jammy"] | ||
sanitizer: [address-sanitizer, thread-sanitizer] # TODO: memory-sanitizer not supported by GCC | ||
|
||
env: | ||
SANITIZER_SKIP_SUMMARY: 1 | ||
|
||
steps: | ||
- name: Check out the repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install, build and run thread sanitizer tests | ||
run: ./docker-compose.sh test-${{ matrix.sanitizer }} | ||
env: | ||
METACALL_BUILD_TYPE: debug | ||
METACALL_BASE_IMAGE: ${{ matrix.image }} | ||
|
||
linux-distributable: | ||
name: Linux Distributable Dispatch | ||
needs: [linux-test, linux-sanitizer-test] | ||
runs-on: ubuntu-latest | ||
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' | ||
steps: | ||
- name: Linux Workflow Dispatch | ||
uses: convictional/[email protected] | ||
with: | ||
owner: metacall | ||
repo: distributable-linux | ||
github_token: ${{ secrets.G_PERSONAL_ACCESS_TOKEN }} | ||
workflow_file_name: ci.yml | ||
wait_workflow: true | ||
client_payload: '{"ref": "${{ github.head_ref || github.ref_name }}"}' | ||
ref: ${{ github.head_ref || github.ref_name }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ concurrency: | |
cancel-in-progress: true | ||
|
||
jobs: | ||
mac-test: | ||
macos-test: | ||
name: MacOS Clang Test | ||
runs-on: macos-latest | ||
|
||
|
@@ -95,3 +95,30 @@ jobs: | |
bash ../tools/metacall-build.sh $METACALL_BUILD_OPTIONS | ||
env: | ||
METACALL_BUILD_OPTIONS: ${{ matrix.options.build }} tests | ||
|
||
macos-distributable: | ||
name: MacOS Distributable Dispatch | ||
needs: macos-test | ||
runs-on: ubuntu-latest | ||
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' | ||
steps: | ||
- name: Homebrew Workflow Dispatch | ||
uses: convictional/[email protected] | ||
with: | ||
owner: metacall | ||
repo: homebrew | ||
github_token: ${{ secrets.G_PERSONAL_ACCESS_TOKEN }} | ||
workflow_file_name: test.yml | ||
wait_workflow: true | ||
client_payload: '{"ref": "${{ github.head_ref || github.ref_name }}"}' | ||
ref: ${{ github.head_ref || github.ref_name }} | ||
- name: MacOS Workflow Dispatch | ||
uses: convictional/[email protected] | ||
with: | ||
owner: metacall | ||
repo: distributable-macos | ||
github_token: ${{ secrets.G_PERSONAL_ACCESS_TOKEN }} | ||
workflow_file_name: ci.yml | ||
wait_workflow: true | ||
client_payload: '{"ref": "${{ github.head_ref || github.ref_name }}"}' | ||
ref: ${{ github.head_ref || github.ref_name }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,3 +64,20 @@ jobs: | |
run: cmd.exe /c "powershell ..\tools\metacall-build.ps1 $Env:METACALL_BUILD_OPTIONS" | ||
env: | ||
METACALL_BUILD_OPTIONS: ${{ matrix.options.build }} tests | ||
|
||
windows-distributable: | ||
name: Windows Distributable Dispatch | ||
needs: windows-test | ||
runs-on: ubuntu-latest | ||
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' | ||
steps: | ||
- name: Windows Workflow Dispatch | ||
uses: convictional/[email protected] | ||
with: | ||
owner: metacall | ||
repo: distributable-windows | ||
github_token: ${{ secrets.G_PERSONAL_ACCESS_TOKEN }} | ||
workflow_file_name: ci.yml | ||
wait_workflow: true | ||
client_payload: '{"ref": "${{ github.head_ref || github.ref_name }}"}' | ||
ref: ${{ github.head_ref || github.ref_name }} |