diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 444e5e71d2..b58ef36c89 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,10 +26,25 @@ jobs: # - run: ./autogen.sh && ./configure --enable-dev-mode && make distcheck - - name: Check installation with Autotools - env: - CI_DIR: ${{ runner.temp }}/${{ github.run_id }} + - run: | + echo ${{ github.action }} + + - name: A nice name run: | - ./autogen.sh && ./configure --prefix=${{ env.CI_DIR }} && make clean && make install && ls -l ${{ env.CI_DIR }}/include ${{ env.CI_DIR }}/lib - gcc -o ecdsa examples/ecdsa.c $(PKG_CONFIG_PATH=${{ env.CI_DIR }}/lib/pkgconfig pkg-config --cflags --libs libsecp256k1) -Wl,-rpath,"${{ env.CI_DIR }}/lib" && ./ecdsa + echo ${{ github.action }} + + + # - name: Check installation with Autotools + # env: + # CI_INSTALL: ${{ runner.temp }}/${{ github.run_id }} + # run: | + # ./autogen.sh && ./configure --prefix=${{ env.CI_INSTALL }} && make clean && make install && ls -l ${{ env.CI_INSTALL }}/include ${{ env.CI_INSTALL }}/lib + # gcc -o ecdsa examples/ecdsa.c $(PKG_CONFIG_PATH=${{ env.CI_INSTALL }}/lib/pkgconfig pkg-config --cflags --libs libsecp256k1) -Wl,-rpath,"${{ env.CI_INSTALL }}/lib" && ./ecdsa + # - name: Check installation with Autotools + # env: + # CI_BUILD: ${{ runner.temp }}/${{ github.run_id }}/build + # CI_INSTALL: ${{ runner.temp }}/${{ github.run_id }}/install + # run: | + # cmake -B ${{ env.CI_BUILD }} -DCMAKE_INSTALL_PREFIX=${{ env.CI_INSTALL }} && cmake --build ${{ env.CI_BUILD }} --target install && ls -l ${{ env.CI_INSTALL }}/include $dir/{{ env.CI_INSTALL }}* + # gcc -o ecdsa examples/ecdsa.c -I ${{ env.CI_INSTALL }}/include -L ${{ env.CI_INSTALL }}/lib*/ -l secp256k1 -Wl,-rpath,"${{ env.CI_INSTALL }}/lib",-rpath,"${{ env.CI_INSTALL }}/lib64" && ./ecdsa