forked from libhal-google/ci
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
3 changed files
with
40 additions
and
7 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 |
---|---|---|
|
@@ -50,7 +50,7 @@ on: | |
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/[email protected] | ||
if: ${{ inputs.version != '' && inputs.external_package == false}} | ||
|
@@ -65,8 +65,20 @@ jobs: | |
submodules: true | ||
repository: ${{ inputs.repo }} | ||
|
||
- name: 📥 Install OS Specific Tools | ||
run: | | ||
sudo apt remove clang-tidy | ||
sudo rm -f /usr/bin/clang-tidy | ||
wget https://apt.llvm.org/llvm.sh | ||
chmod +x llvm.sh | ||
sudo ./llvm.sh 17 | ||
sudo apt install libc++-17-dev libc++abi-17-dev | ||
sudo apt-get install pipx | ||
pipx ensurepath | ||
sudo apt install clang-tidy-17 | ||
- name: 📥 Install Conan ${{ inputs.conan_version }} | ||
run: pip3 install conan==${{ inputs.conan_version }} | ||
run: pipx install conan==${{ inputs.conan_version }} | ||
|
||
- name: 📡 Add `libhal` repo to conan remotes | ||
run: conan remote add libhal | ||
|
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 |
---|---|---|
|
@@ -32,7 +32,7 @@ on: | |
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/[email protected] | ||
if: ${{ inputs.version != '' }} | ||
|
@@ -47,11 +47,20 @@ jobs: | |
submodules: true | ||
repository: ${{ inputs.repo }} | ||
|
||
- name: 📥 Install Conan ${{ inputs.conan_version }} | ||
run: pip3 install conan==${{ inputs.conan_version }} | ||
|
||
- name: 📥 Install OS Specific Tools | ||
run: sudo apt remove clang-tidy && wget https://apt.llvm.org/llvm.sh && chmod +x llvm.sh && sudo ./llvm.sh 17 && sudo apt install libc++-17-dev libc++abi-17-dev && sudo apt-get install pipx && pipx ensurepath && sudo apt install clang-tidy-17 | ||
run: | | ||
sudo apt remove clang-tidy | ||
sudo rm -f /usr/bin/clang-tidy | ||
wget https://apt.llvm.org/llvm.sh | ||
chmod +x llvm.sh | ||
sudo ./llvm.sh 17 | ||
sudo apt install libc++-17-dev libc++abi-17-dev | ||
sudo apt-get install pipx | ||
pipx ensurepath | ||
sudo apt install clang-tidy-17 | ||
- name: 📥 Install Conan ${{ inputs.conan_version }} | ||
run: pipx install conan==${{ inputs.conan_version }} | ||
|
||
- name: 📡 Install default linux profiles | ||
run: conan config install -sf profiles/x86_64/linux/ -tf profiles https://github.com/libhal/conan-config.git | ||
|
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