~优化文件结构,准备将bin文件放到单独分支
This commit is contained in:
35
.github/workflows/test.yaml
vendored
35
.github/workflows/test.yaml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: Build Core test
|
name: Build meta Core for ShellCrash
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@@ -55,16 +55,43 @@ jobs:
|
|||||||
echo tags='' >> $GITHUB_OUTPUT
|
echo tags='' >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
echo tags=$TAGS >> $GITHUB_OUTPUT
|
echo tags=$TAGS >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cross:
|
cross:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
# linux
|
# linux
|
||||||
|
- name: linux-amd64
|
||||||
|
goos: linux
|
||||||
|
goarch: amd64
|
||||||
|
goamd64: v1
|
||||||
|
- name: linux-386
|
||||||
|
goos: linux
|
||||||
|
goarch: 386
|
||||||
- name: linux-arm64
|
- name: linux-arm64
|
||||||
goos: linux
|
goos: linux
|
||||||
goarch: arm64
|
goarch: arm64
|
||||||
|
- name: linux-armv5
|
||||||
|
goos: linux
|
||||||
|
goarch: arm
|
||||||
|
goarm: 5
|
||||||
|
- name: linux-armv7
|
||||||
|
goos: linux
|
||||||
|
goarch: arm
|
||||||
|
goarm: 7
|
||||||
|
- name: linux-mips-softfloat
|
||||||
|
goos: linux
|
||||||
|
goarch: mips
|
||||||
|
gomips: softfloat
|
||||||
|
- name: linux-mipsle-softfloat
|
||||||
|
goos: linux
|
||||||
|
goarch: mipsle
|
||||||
|
gomips: softfloat
|
||||||
|
- name: linux-mipsle-hardfloat
|
||||||
|
goos: linux
|
||||||
|
goarch: mipsle
|
||||||
|
gomips: hardfloat
|
||||||
|
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -113,7 +140,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo apt-get update && sudo apt-get install ca-certificates
|
sudo apt-get update && sudo apt-get install ca-certificates
|
||||||
sudo update-ca-certificates
|
sudo update-ca-certificates
|
||||||
ls -l
|
|
||||||
cp -f /etc/ssl/certs/ca-certificates.crt component/ca/ca-certificates.crt
|
cp -f /etc/ssl/certs/ca-certificates.crt component/ca/ca-certificates.crt
|
||||||
|
|
||||||
- name: build core
|
- name: build core
|
||||||
@@ -137,10 +163,11 @@ jobs:
|
|||||||
PUSHDIR: ${{ github.event.inputs.tag4 }}
|
PUSHDIR: ${{ github.event.inputs.tag4 }}
|
||||||
VERSION: ${{needs.meta.outputs.version}}
|
VERSION: ${{needs.meta.outputs.version}}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout ShellCrash
|
- name: Checkout bin branch (create if missing)
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
ref: update
|
||||||
|
|
||||||
- name: Download file from workspace
|
- name: Download file from workspace
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user