Skip to content
Snippets Groups Projects
Unverified Commit 414d2772 authored by Guillaume Helbecque's avatar Guillaume Helbecque Committed by GitHub
Browse files

Merge pull request #5 from Guillaume-Helbecque/Guillaume-Helbecque-patch-1

Support for GitHub Actions to enable Continuous Integration
parents 04f54e1b ab6e9072
Branches
No related tags found
No related merge requests found
name: Compilation
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache Chapel-2.4.0
id: cache-chapel-240
uses: actions/cache@v4
with:
path: ~/chapel-2.4.0MC
key: ${{ runner.os }}-chapel-2.4.0MC
- name: Build Chapel 2.4.0 (if not cached)
if: steps.cache-chapel-240.outputs.cache-hit != 'true'
run: |
cd chpl_config
source laptop_multicore.sh
- name: Compile code
working-directory: chpl_config
run: |
source laptop_multicore.sh
make all
...@@ -14,7 +14,7 @@ The [chpl_config](./chpl_config) directory contains predefined shell scripts for ...@@ -14,7 +14,7 @@ The [chpl_config](./chpl_config) directory contains predefined shell scripts for
### Compilation and configuration options ### Compilation and configuration options
- **Step 1:** [Set up your Chapel environment](https://chapel-lang.org/docs/usingchapel/chplenv.html) according to the machine on which your code is expected to run, and [build Chapel](https://chapel-lang.org/docs/usingchapel/building.html). - **Step 1:** [Set up your Chapel environment](https://chapel-lang.org/docs/usingchapel/chplenv.html) according to the target system, and [build Chapel](https://chapel-lang.org/docs/usingchapel/building.html).
- **Step 2:** Compile with `make` and execute with: - **Step 2:** Compile with `make` and execute with:
...@@ -33,7 +33,7 @@ where the available options are: ...@@ -33,7 +33,7 @@ where the available options are:
- **`--help`** or **`-h`**: help message - **`--help`** or **`-h`**: help message
Other problem-specific options are supported; see below. Other problem-specific options are supported; see next section.
### Supported problems ### Supported problems
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment