build_osx #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build_osx | |
on: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: macos-13 | |
steps: | |
# Checks-out the repository under $GITHUB_WORKSPACE | |
- uses: actions/checkout@v4 | |
# Install MacPorts (new step) | |
- uses: melusina-org/setup-macports@v1 | |
# Install ccache using port (optional, adjust as needed) | |
- name: Install ccache | |
run: | | |
sudo port install ccache | |
sudo port install python311 | |
# Runs a set of commands using the runner's shell | |
- name: Build-commands | |
run: | | |
echo Starting Build-commands | |
echo GITHUB_WORKSPACE=$GITHUB_WORKSPACE | |
uname -a | |
cd $GITHUB_WORKSPACE | |
ls -lh | |
cd src | |
python3 build_linux.py | |
- name: Upload binary artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: reseek-osx-binary | |
path: /Users/runner/work/reseek/reseek/bin/reseek | |