Remove ansible from macOS CI #804
Workflow file for this run
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: macOS CI | ||
on: | ||
push: | ||
branches: ["main"] | ||
tags: ["**"] | ||
pull_request: | ||
branches: ["main"] | ||
jobs: | ||
macos: | ||
name: LLVM ${{ matrix.LLVM_VERSION }} | ||
runs-on: macos-latest | ||
strategy: | ||
matrix: | ||
include: | ||
- OS_NAME: "macos" | ||
LLVM_VERSION: 13 | ||
steps: | ||
- name: Fix git | ||
run: | | ||
git config --global --add safe.directory $PWD | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- uses: ./actions/detect-package-metadata | ||
id: metadata | ||
- name: Run CI task | ||
run: | | ||
pip3 install -r requirements.txt | ||
./infrastructure/generator.py cmake --os macos --llvm_version ${{ matrix.LLVM_VERSION }} | ||
cmake --preset mull -DMULL_VERSION=${{ steps.metadata.outputs.version }}${{ steps.metadata.outputs.suffix }} | ||
cmake --workflow --preset build-and-test | ||
cmake --workflow --preset package | ||
./end2end-tests/run_end2end_tests.sh ${{ matrix.LLVM_VERSION }} | ||
mull-runner-${{ matrix.LLVM_VERSION }} --version | ||
- name: Publish package | ||
if: secrets.CLOUDSMITH_API_KEY != null | ||
Check failure on line 41 in .github/workflows/ci-macos.yml GitHub Actions / macOS CIInvalid workflow file
|
||
run: | | ||
cloudsmith push raw \ | ||
--name mull-`echo ${{ matrix.LLVM_VERSION }} | awk -F. ' { print $1 } '` \ | ||
--version ${{ steps.metadata.outputs.version }}${{ steps.metadata.outputs.suffix }} \ | ||
mull-project/mull-${{ steps.metadata.outputs.channel }} \ | ||
--tags macos \ | ||
infrastructure/packages/*.zip | ||
- name: Move package | ||
run: | | ||
mkdir -p /tmp/packages | ||
mv infrastructure/packages/*.zip /tmp/packages/ | ||
- uses: ./actions/attach-package | ||
with: | ||
GH_API_KEY: ${{ secrets.GITHUB_TOKEN }} |