-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f0c9590
commit 0b985fc
Showing
7 changed files
with
83 additions
and
53 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: build-rasqal | ||
description: "Builds and tests Rasqal." | ||
|
||
inputs: | ||
os: | ||
description: "The OS being built for." | ||
required: false | ||
target: | ||
description: "Target to be passed to the build script." | ||
required: false | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup rust toolchain | ||
uses: ./.github/actions/rust-toolchain | ||
with: | ||
toolchain: 1.75.0 | ||
components: rustfmt clippy | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: 3.9 | ||
if: ${{ runner.os != 'macos-14' }} | ||
- name: Install LLVM | ||
uses: ./.github/actions/install-llvm | ||
with: | ||
version: "14" | ||
os: ${{ inputs.os || runner.os }} | ||
directory: ${{ github.workspace }}/target/llvm | ||
- name: "Running build script." | ||
run: | | ||
./build.ps1 ${{ inputs.target || 'default' }} | ||
shell: pwsh |
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Build | ||
|
||
on: | ||
pull_request: | ||
branches: [main, develop] | ||
workflow_dispatch: | ||
release: | ||
|
||
permissions: | ||
contents: write | ||
actions: write | ||
pull-requests: write | ||
|
||
run-name: Build from ${{ github.ref }} | ||
|
||
jobs: | ||
build: | ||
name: Run full build and unit tests. | ||
runs-on: [ubuntu-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup rust toolchain | ||
uses: ./.github/actions/rust-toolchain | ||
with: | ||
toolchain: 1.75.0 | ||
components: rustfmt clippy | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: 3.9 | ||
if: ${{ runner.os != 'macos-14' }} | ||
- name: Install LLVM | ||
uses: ./.github/actions/install-llvm | ||
with: | ||
version: "14" | ||
os: ${{ runner.os }} | ||
directory: ${{ github.workspace }}/target/llvm | ||
- name: "Running build script." | ||
run: | | ||
./build.ps1 | ||
shell: pwsh |
File renamed without changes.
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
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