Update build.yml
This commit is contained in:
parent
0db8b3787d
commit
11d5a7ca4d
|
@ -0,0 +1,17 @@
|
||||||
|
# https://docs.github.com/en/actions/creating-actions/creating-a-composite-action
|
||||||
|
|
||||||
|
name: Set up environment
|
||||||
|
description: Runs setup actions and installs packages
|
||||||
|
|
||||||
|
inputs:
|
||||||
|
runtime:
|
||||||
|
description: '.net runtime'
|
||||||
|
required: true
|
||||||
|
|
||||||
|
runs:
|
||||||
|
using: 'composite'
|
||||||
|
steps:
|
||||||
|
- uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: ${{ inputs.runtime }}-tests
|
||||||
|
path: _tests/net6.0/${{ inputs.runtime }}/publish/**/*
|
|
@ -42,14 +42,94 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: ./build.sh --backend --enable-extra-platforms --packages
|
run: ./build.sh --backend --enable-extra-platforms --packages
|
||||||
|
|
||||||
|
# Test Artifacts
|
||||||
|
|
||||||
- name: Publish win-x64 Test Artifact
|
- name: Publish win-x64 Test Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/publish-test-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: win-x64-tests
|
runtime: win-x64
|
||||||
path: _tests/net6.0/win-x64/publish/**/*
|
|
||||||
|
|
||||||
- name: Publish win-x86 Test Artifact
|
- name: Publish win-x86 Test Artifact
|
||||||
|
uses: actions/publish-test-artifact@v1
|
||||||
|
with:
|
||||||
|
runtime: win-x86
|
||||||
|
|
||||||
|
- name: Publish linux-x64 Test Artifact
|
||||||
|
uses: actions/publish-test-artifact@v1
|
||||||
|
with:
|
||||||
|
runtime: linux-x64
|
||||||
|
|
||||||
|
- name: Publish linux-musl-x64 Test Artifact
|
||||||
|
uses: actions/publish-test-artifact@v1
|
||||||
|
with:
|
||||||
|
runtime: linux-musl-x64
|
||||||
|
|
||||||
|
- name: Publish osx-x64 Test Artifact
|
||||||
|
uses: actions/publish-test-artifact@v1
|
||||||
|
with:
|
||||||
|
runtime: osx-x64
|
||||||
|
|
||||||
|
- name: Publish freebsd-x64 Test Artifact
|
||||||
|
uses: actions/publish-test-artifact@v1
|
||||||
|
with:
|
||||||
|
runtime: freebsd-x64
|
||||||
|
|
||||||
|
# Artifacts
|
||||||
|
|
||||||
|
- name: Publish win-x64 Artifact
|
||||||
|
uses: actions/publish-test-artifact@v1
|
||||||
|
with:
|
||||||
|
runtime: win-x64
|
||||||
|
|
||||||
|
- name: Publish win-x86 Artifact
|
||||||
|
uses: actions/publish-test-artifact@v1
|
||||||
|
with:
|
||||||
|
runtime: win-x86
|
||||||
|
|
||||||
|
- name: Publish linux-x64 Artifact
|
||||||
|
uses: actions/publish-test-artifact@v1
|
||||||
|
with:
|
||||||
|
runtime: linux-x64
|
||||||
|
|
||||||
|
- name: Publish linux-musl-x64 Artifact
|
||||||
|
uses: actions/publish-test-artifact@v1
|
||||||
|
with:
|
||||||
|
runtime: linux-musl-x64
|
||||||
|
|
||||||
|
- name: Publish linux-arm64 Artifact
|
||||||
|
uses: actions/publish-test-artifact@v1
|
||||||
|
with:
|
||||||
|
runtime: linux-arm64
|
||||||
|
|
||||||
|
- name: Publish linux-musl-arm64 Artifact
|
||||||
|
uses: actions/publish-test-artifact@v1
|
||||||
|
with:
|
||||||
|
runtime: linux-musl-arm64
|
||||||
|
|
||||||
|
- name: Publish linux-arm Artifact
|
||||||
|
uses: actions/publish-test-artifact@v1
|
||||||
|
with:
|
||||||
|
runtime: linux-arm
|
||||||
|
|
||||||
|
- name: Publish osx-x64 Artifact
|
||||||
|
uses: actions/publish-test-artifact@v1
|
||||||
|
with:
|
||||||
|
runtime: osx-x64
|
||||||
|
|
||||||
|
- name: Publish osx-arm64 Artifact
|
||||||
|
uses: actions/publish-test-artifact@v1
|
||||||
|
with:
|
||||||
|
runtime: osx-arm64
|
||||||
|
|
||||||
|
- name: Publish freebsd-x64 Artifact
|
||||||
|
uses: actions/publish-test-artifact@v1
|
||||||
|
with:
|
||||||
|
runtime: freebsd-x64
|
||||||
|
|
||||||
|
# Distribution Artifact
|
||||||
|
|
||||||
|
- name: Publish Distribution Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: win-x86-tests
|
name: distribution
|
||||||
path: _tests/net6.0/win-x86/publish/**/*
|
path: distribution/**/*
|
||||||
|
|
Loading…
Reference in New Issue