Skip to content

Commit

Permalink
Merge pull request #1165 from atsign-foundation/cpswan-c-source-tarball
Browse files Browse the repository at this point in the history
build: Modifications to facilitate OpenWRT builds of C sshnpd
  • Loading branch information
cpswan authored Jun 25, 2024
2 parents 8c911b3 + 3266100 commit 6756850
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/c_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,9 @@ jobs:
- name: Create tarball
run: |
mkdir tarball
cd ./packages/c
tar -cvzf ../../tarball/csshnpd-${{ github.ref_name }}.tar.gz .
cd ./packages
mv c csshnpd-${{ github.ref_name }}
tar -cvzf ../tarball/csshnpd-${{ github.ref_name }}.tar.gz csshnpd-${{ github.ref_name }}
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: csshnpd-src-${{github.ref_name}}-${{github.run_number}}-${{github.run_attempt}}
Expand Down
5 changes: 5 additions & 0 deletions packages/c/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
cmake_minimum_required(VERSION 3.19)
set(CMAKE_C_STANDARD 99)
cmake_policy(SET CMP0135 NEW)
project(csshnpd VERSION 0.0.1 LANGUAGES C)
add_subdirectory(sshnpd)

0 comments on commit 6756850

Please sign in to comment.