Skip to content

Remove ansible from macOS CI #804

Remove ansible from macOS CI

Remove ansible from macOS CI #804

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / macOS CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci-macos.yml (Line: 41, Col: 13): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.CLOUDSMITH_API_KEY != null
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 }}