Skip to content

Commit

Permalink
ci: invoke apt only once
Browse files Browse the repository at this point in the history
Apt has to read a bunch of data each time it's invoked, to avoid
that just run it once and install all required packages.

Signed-off-by: Sven Hoexter <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
  • Loading branch information
hoexter authored and namjaejeon committed Jul 25, 2024
1 parent f15b987 commit fc397f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ jobs:
- uses: actions/checkout@v4
- name: before test
run: |
sudo apt-get install linux-headers-$(uname -r)
sudo apt-get install xz-utils
sudo apt-get install linux-headers-$(uname -r) xz-utils
git clone https://github.com/namjaejeon/linux-exfat-oot
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export PATH=/usr/local/lib:$PATH
Expand Down
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ notifications:
- email: true

before_script:
- sudo apt-get install linux-headers-$(uname -r)
- sudo apt-get install xz-utils
- sudo apt-get install linux-headers-$(uname -r) xz-utils
- git clone --branch=exfat-next https://github.com/namjaejeon/exfat_oot
- ./.travis_get_mainline_kernel
- export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
Expand Down

0 comments on commit fc397f0

Please sign in to comment.