diff --git a/.github/workflows/build-and-test-make.yml b/.github/workflows/build-and-test-make.yml index 5bae569e..a5ff4609 100644 --- a/.github/workflows/build-and-test-make.yml +++ b/.github/workflows/build-and-test-make.yml @@ -332,7 +332,6 @@ jobs: rm -f ${{ runner.temp }}/zlib/lib/libz.so - name: Run configure script - if: matrix.arch == 'x86_64' run: | mkdir ${{ runner.temp }}/install ./configure --prefix=${{ runner.temp }}/install @@ -400,7 +399,6 @@ jobs: ${{ matrix.make }} firefox-install - name: Prepare the tests - if: matrix.arch == 'x86_64' run: | # Compile 'minicurl' which is used by the tests gcc -Wall -Werror -o ${{ runner.temp }}/install/bin/minicurl tests/minicurl.c `curl-config --libs` @@ -408,7 +406,6 @@ jobs: # For now we can only run the tests when not cross compiling, since the # tests run the curl-impersonate binary locally. - name: Run the tests - if: matrix.arch == 'x86_64' run: | cd tests # sudo is needed for capturing packets @@ -433,21 +430,10 @@ jobs: # Recompile curl-impersonate statically when doing a release. - name: Reconfigure statically - if: startsWith(github.ref, 'refs/tags/') && matrix.arch == 'x86_64' + if: startsWith(github.ref, 'refs/tags/') run: | ./configure --prefix=${{ runner.temp }}/install --enable-static - - name: Reconfigure statically (cross compiling) - if: startsWith(github.ref, 'refs/tags/') && matrix.arch != 'x86_64' - run: | - ./configure --prefix=${{ runner.temp }}/install \ - --enable-static \ - --host=${{ matrix.host }} \ - --with-zlib=${{ runner.temp }}/zlib \ - --with-ca-path=/etc/ssl/certs \ - --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \ - --with-libnssckbi=/usr/lib/${{ matrix.host }}/nss - - name: Rebuild statically if: startsWith(github.ref, 'refs/tags/') run: | diff --git a/README.md b/README.md index cb0796a3..48bf4f86 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ More documentation is available in the [docs/](docs/README.md) directory. There are two versions of `curl-impersonate` for technical reasons. The **chrome** version is used to impersonate Chrome, Edge and Safari. The **firefox** version is used to impersonate Firefox. ### Pre-compiled binaries -Pre-compiled binaries for Linux and macOS (Intel) are available at the [GitHub releases](https://github.com/yifeikong/curl-impersonate/releases) page. Before you use them you need to install nss (Firefox's TLS library) and CA certificates: +Pre-compiled binaries for Windows, Linux and macOS are available at the [GitHub releases](https://github.com/yifeikong/curl-impersonate/releases) page. Before you use them you need to install nss (Firefox's TLS library) and CA certificates: * Ubuntu - `sudo apt install libnss3 nss-plugin-pem ca-certificates` * Red Hat/Fedora/CentOS - `yum install nss nss-pem ca-certificates` * Archlinux - `pacman -S nss ca-certificates`