Skip to content

Commit

Permalink
[GitHub Actions] Update to checkout@v2, use prepare_git_repo.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Feb 25, 2020
1 parent 3ea5a27 commit c9b3192
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/CI_fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ jobs:
name: :LATEST (CMake) [GCC]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Prepare Git Repo for autorevision
run: cmake -P build_tools/ci/githubactions/prepare_git_repo.cmake
- name: Init Git Submodules
run: git submodule update --init --recursive
- name: Build the Docker image
Expand All @@ -24,7 +28,11 @@ jobs:
name: :LATEST (CMake) [GCC -m32]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Prepare Git Repo for autorevision
run: cmake -P build_tools/ci/githubactions/prepare_git_repo.cmake
- name: Init Git Submodules
run: git submodule update --init --recursive
- name: Build the Docker image
Expand Down
18 changes: 15 additions & 3 deletions .github/workflows/CI_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ jobs:
name: Ubuntu 16.04 (CMake) [GCC]
runs-on: ubuntu-16.04
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Prepare Git Repo for autorevision
run: cmake -P build_tools/ci/githubactions/prepare_git_repo.cmake
- name: Init Git Submodules
run: git submodule update --init --recursive
- name: Debug Output
Expand All @@ -28,7 +32,11 @@ jobs:
name: Ubuntu 18.04 (CMake) [GCC]
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Prepare Git Repo for autorevision
run: cmake -P build_tools/ci/githubactions/prepare_git_repo.cmake
- name: Init Git Submodules
run: git submodule update --init --recursive
- name: Build the Docker image
Expand All @@ -45,7 +53,11 @@ jobs:
name: Ubuntu 18.04 (CMake) [Clang]
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Prepare Git Repo for autorevision
run: cmake -P build_tools/ci/githubactions/prepare_git_repo.cmake
- name: Init Git Submodules
run: git submodule update --init --recursive
- name: Build the Docker image
Expand Down

0 comments on commit c9b3192

Please sign in to comment.