Skip to content

Commit

Permalink
All done.
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Aug 28, 2023
1 parent 99936a8 commit 6d4a219
Showing 1 changed file with 13 additions and 21 deletions.
34 changes: 13 additions & 21 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,19 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

# - run: ./autogen.sh && ./configure --enable-dev-mode && make distcheck
- run: ./autogen.sh && ./configure --enable-dev-mode && make distcheck

- run: |
echo ${{ github.action }}
- name: A nice name
- name: Check installation with Autotools
env:
CI_INSTALL: ${{ runner.temp }}/${{ github.run_id }}${{ github.action }}
run: |
echo ${{ github.action }}
./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_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
- name: Check installation with Autotools
env:
CI_BUILD: ${{ runner.temp }}/${{ github.run_id }}${{ github.action }}/build
CI_INSTALL: ${{ runner.temp }}/${{ github.run_id }}${{ github.action }}/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

0 comments on commit 6d4a219

Please sign in to comment.