summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherle2022-08-16 21:06:51 +0200
committerMichael Scherle2022-08-16 21:06:51 +0200
commit3df2630cad8087df5a3ff0d5b413403dc56b1741 (patch)
treef2f370b52fdf509e838852d9c06edbd31258abe1
parentadded random test to git ci (diff)
downloaddnbd3-3df2630cad8087df5a3ff0d5b413403dc56b1741.tar.gz
dnbd3-3df2630cad8087df5a3ff0d5b413403dc56b1741.tar.xz
dnbd3-3df2630cad8087df5a3ff0d5b413403dc56b1741.zip
changed test to use net 6
-rw-r--r--.github/workflows/test-cow-fuse.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/test-cow-fuse.yml b/.github/workflows/test-cow-fuse.yml
index 27d7558..54b71fa 100644
--- a/.github/workflows/test-cow-fuse.yml
+++ b/.github/workflows/test-cow-fuse.yml
@@ -8,7 +8,7 @@ jobs:
- name: Setup dotnet
uses: actions/setup-dotnet@v2
with:
- dotnet-version: '5.x.x'
+ dotnet-version: '6.x.x'
- name: Install dnbd3 dependencies
working-directory: ${{ github.workspace }}
@@ -46,7 +46,7 @@ jobs:
run: git clone --depth 1 --branch "master" "https://github.com/z0Kng/cow_merger_service.git" "../cow_server"
- name: Build cow_merger_service
working-directory: ${{ github.workspace }}/../cow_server/cow_merger_service
- run: dotnet publish -c Release -o publish -p:PublishReadyToRun=true -p:PublishSingleFile=true -p:PublishReadyToRunShowWarnings=true --self-contained true --runtime linux-x64
+ run: dotnet publish -c Release -o publish -p:PublishReadyToRun=true -p:PublishSingleFile=true -p:PublishTrimmed=True -p:PublishReadyToRunShowWarnings=true --self-contained true --runtime linux-x64
- name: Setup cow_merger_service
working-directory: ${{ github.workspace }}/../cow_server/
run: |
@@ -58,6 +58,9 @@ jobs:
sed -i 's/^ "DestinationDirectory":.*/ "DestinationDirectory": "\/home\/runner\/work\/Output",/g' cow_merger_service/publish/appsettings.json
while read line; do echo $line; done < cow_merger_service/publish/appsettings.json
cd cow_merger_service/publish/
+ FILENAME=cow_merger_service
+ FILESIZE=$(stat -c%s "$FILENAME")
+ echo "Size of $FILENAME = $FILESIZE bytes."
./cow_merger_service 2>&1 > log.out &
- name: Generate test file
working-directory: ${{ github.workspace }}/build/src/cowtest