Skip to content

Instantly share code, notes, and snippets.

@SheepTester
Created July 30, 2022 05:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save SheepTester/7929231253a514698962edf269b8d601 to your computer and use it in GitHub Desktop.
Save SheepTester/7929231253a514698962edf269b8d601 to your computer and use it in GitHub Desktop.
GitHub workflow for building Carbon with GitHub Actions
name: Build Carbon
on: [workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- uses: bazelbuild/setup-bazelisk@v2
- run: brew install llvm
- run: bazel build //explorer
- uses: actions/upload-artifact@v3.1.0
with:
name: explorer
path: bazel-bin/explorer/explorer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment