mirror of https://github.com/Nonannet/copapy.git
musl copyright notice added to artifacts and package build pipeline
This commit is contained in:
parent
31973797b6
commit
790990b121
|
|
@ -39,6 +39,16 @@ jobs:
|
||||||
name: stencil-object-files
|
name: stencil-object-files
|
||||||
path: src/copapy/obj
|
path: src/copapy/obj
|
||||||
|
|
||||||
|
- uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
name: musl-object-files
|
||||||
|
path: /tmp/musl-object-files
|
||||||
|
|
||||||
|
- name: Add musl copyright notice to license file
|
||||||
|
run: |
|
||||||
|
echo "\n\nMUSL COPYRIGHT NOTICE:" >> LICENSE
|
||||||
|
cat /tmp/musl-object-files/COPYRIGHT >> LICENSE
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ jobs:
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: musl-object-files
|
name: musl-object-files
|
||||||
path: /object_files/musl_objects_*.*o
|
path: /object_files/*
|
||||||
|
|
||||||
build-package-test:
|
build-package-test:
|
||||||
needs: [build_stencils]
|
needs: [build_stencils]
|
||||||
|
|
@ -47,6 +47,16 @@ jobs:
|
||||||
name: stencil-object-files
|
name: stencil-object-files
|
||||||
path: src/copapy/obj
|
path: src/copapy/obj
|
||||||
|
|
||||||
|
- uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
name: musl-object-files
|
||||||
|
path: /tmp/musl-object-files
|
||||||
|
|
||||||
|
- name: Add musl copyright notice to license file
|
||||||
|
run: |
|
||||||
|
echo "\n\nMUSL COPYRIGHT NOTICE:" >> LICENSE
|
||||||
|
cat /tmp/musl-object-files/COPYRIGHT >> LICENSE
|
||||||
|
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
|
|
@ -289,7 +299,8 @@ jobs:
|
||||||
set -v
|
set -v
|
||||||
mkdir -p release
|
mkdir -p release
|
||||||
cp tmp/stencil-object-files/* release/
|
cp tmp/stencil-object-files/* release/
|
||||||
cp tmp/musl-object-files/* release/
|
cp tmp/musl-object-files/*.o release/
|
||||||
|
cp tmp/musl-object-files/COPYRIGHT release/MUSL-COPYRIGHT.txt
|
||||||
cp tmp/runner-linux-x86_64/coparun release/
|
cp tmp/runner-linux-x86_64/coparun release/
|
||||||
cp tmp/runner-linux-arm64/coparun release/coparun-aarch64
|
cp tmp/runner-linux-arm64/coparun release/coparun-aarch64
|
||||||
cp tmp/runner-linux-armv6/coparun release/coparun-armv6
|
cp tmp/runner-linux-armv6/coparun release/coparun-armv6
|
||||||
|
|
|
||||||
|
|
@ -33,6 +33,8 @@ sh ../packobjs.sh arm-none-eabi-gcc arm-none-eabi-ld /object_files/musl_objects_
|
||||||
|
|
||||||
#sh ../packobjs.sh riscv64 riscv64-linux-gnu-gcc-13 riscv64-linux-gnu-ld
|
#sh ../packobjs.sh riscv64 riscv64-linux-gnu-gcc-13 riscv64-linux-gnu-ld
|
||||||
|
|
||||||
|
cp ./COPYRIGHT /object_files/
|
||||||
|
|
||||||
echo "- clean up..."
|
echo "- clean up..."
|
||||||
rm -r ./*
|
rm -r ./*
|
||||||
cd ..
|
cd ..
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue