Skip to content

Fixed bug when adding many files into a folder, added more checks whe… #21

Fixed bug when adding many files into a folder, added more checks whe…

Fixed bug when adding many files into a folder, added more checks whe… #21

Workflow file for this run

# Macos Build
name: jacknife-build-osx
# Controls when the workflow will run
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
push:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build_osx_11:
# The type of runner that the job will run on
runs-on: macos-11
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v2
# Runs a set of commands using the runners shell
- name: Do the work
run: |
./build_linux_mac.sh
file jacknife.wcx
# https://github.com/rust-lang/rust/issues/93988#issuecomment-1042572902
# suggests strip -u, so...
strip -u jacknife.wcx
mv jacknife.wcx jacknife_osx_x64.wcx
# Apply the secret sauce
sed -i -e "s/gcc/gcc -target arm64-apple-macos11/g" build_linux_mac.sh
./build_linux_mac.sh
file jacknife.wcx
# https://github.com/rust-lang/rust/issues/93988#issuecomment-1042572902
# suggests strip -u, so...
strip -u jacknife.wcx
mv jacknife.wcx jacknife_osx_m1.wcx
- name: "Upload artifacts"
uses: actions/upload-artifact@v3
with:
name: jacknife_osx_${{ github.sha }}
path: jacknife_osx_*.wcx