Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
leleliu008 committed Oct 26, 2024
1 parent bcc13b1 commit 86d55a3
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/publish-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
strategy:
fail-fast: false
matrix:
target-version: ['10.15', '11.0', '12.0', '13.0', '14.0']
target-version: ['10.15', '11.0', '12.0', '13.0', '14.0', '15.0']
target-arch: [x86_64, arm64]

steps:
Expand All @@ -43,9 +43,11 @@ jobs:
install -d out/
for item in *.c
for f in *.c
do
$CC $CFLAGS -std=c99 -Os -flto -o "out/${item%.c}" "$item"
o="out/${item%.c}"
$CC $CFLAGS -std=c99 -Os -flto -o "$o" "$f"
strip "$o"
done
- run: curl -LO https://raw.githubusercontent.com/adobe-fonts/source-code-pro/release/OTF/SourceCodePro-Light.otf
Expand All @@ -54,8 +56,8 @@ jobs:
- run: chmod a+x xcpkg
- run: ./xcpkg setup
- run: ./xcpkg update
- run: ./xcpkg install MacOSX-${{ matrix.target-version }}-${{ matrix.target-arch }}/[email protected].3
- run: ./xcpkg pack MacOSX-${{ matrix.target-version }}-${{ matrix.target-arch }}/[email protected].3
- run: ./xcpkg install MacOSX-${{ matrix.target-version }}-${{ matrix.target-arch }}/[email protected].4
- run: ./xcpkg pack MacOSX-${{ matrix.target-version }}-${{ matrix.target-arch }}/[email protected].4

- run: tar vxf uppm*.tar.xz -C out --strip-components=1
- run: mv out/bin/uppm out/
Expand Down

0 comments on commit 86d55a3

Please sign in to comment.