Skip to content

Commit

Permalink
Merge pull request #27 from flightaware/fix-tests
Browse files Browse the repository at this point in the history
Fix tests
  • Loading branch information
bovine authored Aug 13, 2024
2 parents ed48569 + 4031a95 commit 3cdea23
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 34 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linux-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
run: |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update -qq
sudo apt-get install -y gcc-7 g++-7
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 70 --slave /usr/bin/g++ g++ /usr/bin/g++-7
sudo apt-get install -y gcc-11 g++-11
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 70 --slave /usr/bin/g++ g++ /usr/bin/g++-11
sudo apt-get install -y tcl8.6-dev libcurl4-openssl-dev
- name: configure
run: |
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/mac-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,11 @@ jobs:
- name: Install dependencies
run: |
brew update
brew install tcl-tk || true
brew install curl
sudo mkdir -p /usr/local
sudo ln -sf /usr/local/opt/tcl-tk/include /usr/local/include/tcl8.6
sudo cp /usr/local/opt/tcl-tk/lib/libtcl* /usr/local/lib
sudo ln -sf /usr/local/opt/tcl-tk/bin/tclsh8.6 /usr/local/bin/tclsh
sudo ln -sf /usr/local/opt/tcl-tk/bin/tclsh8.6 /usr/local/bin/tclsh8.6
brew install tcl-tk autoconf curl
- name: configure
run: |
autoreconf -vi
./configure --with-tcl=/usr/local/opt/tcl-tk/lib --prefix=/usr/local
./configure --with-tcl=/opt/homebrew/opt/tcl-tk/lib --prefix=/usr/local
- name: make
run: make
- name: install
Expand Down
24 changes: 0 additions & 24 deletions .github/workflows/windows-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,37 +38,13 @@ jobs:
- name: Init MSVC
uses: ilammy/msvc-dev-cmd@v1

- name: Cache vcpkg curl dependency
id: curl-cache
uses: actions/cache@v2
with:
path: C:/vcpkg/packages/curl_x64-windows-static
key: ${{ runner.os }}-vcpkgcurl

- name: Cache vcpkg zlib dependency
id: zlib-cache
uses: actions/cache@v2
with:
path: C:/vcpkg/packages/zlib_x64-windows-static
key: ${{ runner.os }}-vcpkgzlib

- name: Install zlib with vcpkg
if: steps.zlib-cache.outputs.cache-hit != 'true'
run: vcpkg install zlib:x64-windows-static

- name: Install curl with vcpkg
if: steps.curl-cache.outputs.cache-hit != 'true'
run: vcpkg install curl:x64-windows-static

- name: Cache Tcl build
id: tcl-cache
uses: actions/cache@v2
with:
path: C:/tcl
key: ${{ runner.os }}-vcpkgzlib

- name: Build Tcl
if: steps.tcl-cache.outputs.cache-hit != 'true'
working-directory: tcl/win
shell: cmd
run: |
Expand Down

0 comments on commit 3cdea23

Please sign in to comment.