Skip to content

Commit

Permalink
Disable iOS in Github Action mac universal package
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanEngelen committed Sep 11, 2024
1 parent f71e35d commit 861c3ff
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/actions/merge-macos/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ runs:
# rename/copy lib dirs
mv lib lib-x86_64
cp -R ../ldc2-arm64/lib lib-arm64
cp -R ../ldc2-arm64/lib-ios-arm64 ./
# cp -R ../ldc2-arm64/lib-ios-arm64 ./
# merge executables to universal ones
for exe in bin/*; do
Expand Down Expand Up @@ -84,15 +84,15 @@ runs:
perl -0777 -pi -e "s|\\ndefault:\\n.+?\\n\\};|$sections|s" etc/ldc2.conf
cat etc/ldc2.conf
- name: Run x86_64/arm64 macOS/iOS cross-compilation smoke tests
shell: bash
run: |
set -eux
echo 'void main() { import std.stdio; writefln("Hello world, %d bits", size_t.sizeof * 8); }' > hello.d
for triple in x86_64-apple-macos11.0 arm64-apple-macos11.0 x86_64-apple-ios12.0-simulator arm64-apple-ios12.0; do
ldc2-universal/bin/ldc2 -mtriple="$triple" hello.d
ldc2-universal/bin/ldc2 -mtriple="$triple" hello.d -link-defaultlib-shared
done
# - name: Run x86_64/arm64 macOS/iOS cross-compilation smoke tests
# shell: bash
# run: |
# set -eux
# echo 'void main() { import std.stdio; writefln("Hello world, %d bits", size_t.sizeof * 8); }' > hello.d
# for triple in x86_64-apple-macos11.0 arm64-apple-macos11.0 x86_64-apple-ios12.0-simulator arm64-apple-ios12.0; do
# ldc2-universal/bin/ldc2 -mtriple="$triple" hello.d
# ldc2-universal/bin/ldc2 -mtriple="$triple" hello.d -link-defaultlib-shared
# done

- name: Pack universal package
shell: bash
Expand Down

0 comments on commit 861c3ff

Please sign in to comment.