Skip to content

Commit

Permalink
Install xz and call xzcat for load
Browse files Browse the repository at this point in the history
  • Loading branch information
huitema committed Mar 6, 2024
1 parent 43c8f08 commit c560490
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/ci-tests-clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ jobs:
# a pull request then we can checkout the head.
fetch-depth: 2
submodules: 'recursive'

- name: Install xz
run: |
sudo apt-get install -y xz
- name: Run cmake
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-tests-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
# a pull request then we can checkout the head.
fetch-depth: 2
submodules: 'recursive'

- name: Install xz
run: |
brew install xz
- name: Run cmake
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-tests-privacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
# a pull request then we can checkout the head.
fetch-depth: 2
submodules: 'recursive'

- name: Install xz
run: |
sudo apt-get install -y xz
- name: Run cmake
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ jobs:
cmake .
make -j 4
- name: Install xz
run: |
sudo apt-get install -y xz
- name: Perform Unit Tests
run: |
./ithitest
Expand Down
2 changes: 1 addition & 1 deletion lib/ithiutil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ FILE* ithi_xzcat_decompress_open(char const* file_name, int* last_err)
/* Running on windows requires that 7z.exe is installed */
xzcat_command = "7z.exe e -so";
#else
xzcat_command = "zxcat -k";
xzcat_command = "xzcat -k";
#endif

#ifdef _WINDOWS
Expand Down

0 comments on commit c560490

Please sign in to comment.