Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
49 lines
1002 B
YAML
49 lines
1002 B
YAML
|
|
name: Targets
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "**"
|
|
- "!dependabot/**"
|
|
- "!xgopilot/**"
|
|
pull_request:
|
|
branches: ["**"]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
llgo:
|
|
continue-on-error: true
|
|
timeout-minutes: 30
|
|
strategy:
|
|
matrix:
|
|
os:
|
|
- macos-latest
|
|
- ubuntu-latest
|
|
llvm: [19]
|
|
runs-on: ${{matrix.os}}
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Install dependencies
|
|
uses: ./.github/actions/setup-deps
|
|
with:
|
|
llvm-version: ${{matrix.llvm}}
|
|
|
|
- name: Set up Go for build
|
|
uses: ./.github/actions/setup-go
|
|
with:
|
|
go-version: "1.24.2"
|
|
|
|
- name: Install
|
|
run: |
|
|
go install ./...
|
|
echo "LLGO_ROOT=$GITHUB_WORKSPACE" >> $GITHUB_ENV
|
|
|
|
- name: Build targets
|
|
run: |
|
|
cd _demo/embed/targetsbuild
|
|
bash build.sh
|