Skip to content

Commit

Permalink
ci: test compilation of slurm plugin
Browse files Browse the repository at this point in the history
Problem: The slurm plugin is not even compiled in Github CI.

Install libslurm-dev to the list of packages to install in the
ci container and add --with-slurm to the list of configure options.
  • Loading branch information
grondo committed Oct 9, 2023
1 parent 119d04f commit d63bab3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: install dependencies
run: sudo apt install libgenders0-dev
run: sudo apt install libgenders0-dev libslurm-dev
- name: fix permissions
run: chmod -R o-w /home/runner || true
- name: configure
run: >
./bootstrap &&
./configure --with-ssh --with-exec --with-netgroup
--with-dshgroups --with-genders --with-machines
--with-dshgroups --with-genders --with-machines --with-slurm
- name: make
run: make -j 2 CFLAGS="-Werror"
- name: make check
Expand Down

0 comments on commit d63bab3

Please sign in to comment.