Skip to content

Commit

Permalink
restrict actions a bit more
Browse files Browse the repository at this point in the history
  • Loading branch information
lrineau committed Dec 20, 2024
1 parent db347ea commit b145d1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,16 @@ permissions:

jobs:
build:

if: github.repository == 'CGAL/cgal' || github.event_name != 'push'
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: install dependencies
run: |
.github/install.sh
set -x
sudo apt-get update && sudo apt-get install -y graphviz ssh bibtex2html
sudo pip install lxml
sudo pip install lxml
sudo pip install 'pyquery==1.4.1' # it seems to be the last py2 compatible version
wget --no-verbose -O doxygen_exe https://cgal.geometryfactory.com/~cgaltest/doxygen_1_8_13_patched/doxygen
sudo mv doxygen_exe /usr/bin/doxygen
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/cmake-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ permissions:

jobs:
cmake-testsuite:

if: github.repository == 'CGAL/cgal' || github.event_name != 'push'
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: install dependencies
Expand All @@ -21,9 +20,8 @@ jobs:
ctest -L Installation -j $(getconf _NPROCESSORS_ONLN)
cmake-testsuite-with-qt:

if: github.repository == 'CGAL/cgal' || github.event_name != 'push'
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: install dependencies
Expand Down

0 comments on commit b145d1c

Please sign in to comment.