1
0
mirror of https://github.com/cc65/cc65.git synced 2025-08-12 17:25:11 +00:00

test upload again

This commit is contained in:
mrdudz
2022-02-06 17:29:14 +01:00
parent 561e973c5d
commit b9bda8c40d

View File

@@ -53,9 +53,9 @@ jobs:
- name: Build the platform libraries. - name: Build the platform libraries.
shell: bash shell: bash
run: make -j2 lib QUIET=1 run: make -j2 lib QUIET=1
- name: Run the regression tests. # - name: Run the regression tests.
shell: bash # shell: bash
run: make test QUIET=1 # run: make test QUIET=1
- name: Test that the samples can be built. - name: Test that the samples can be built.
shell: bash shell: bash
run: make -j2 samples run: make -j2 samples
@@ -68,34 +68,34 @@ jobs:
- name: Build the document files. - name: Build the document files.
shell: bash shell: bash
run: make -j2 doc run: make -j2 doc
- name: Build and package 64-bit Windows versions of the tools. # - name: Build and package 64-bit Windows versions of the tools.
run: | # run: |
make -C src clean # make -C src clean
make -j2 bin USER_CFLAGS=-Werror CROSS_COMPILE=x86_64-w64-mingw32- # make -j2 bin USER_CFLAGS=-Werror CROSS_COMPILE=x86_64-w64-mingw32-
make zip # make zip
mv cc65.zip cc65-win64.zip # mv cc65.zip cc65-snapshot-win64.zip
- name: Build and package 32-bit Windows versions of the tools. - name: Build and package 32-bit Windows versions of the tools.
run: | run: |
make -C src clean make -C src clean
make -j2 bin USER_CFLAGS=-Werror CROSS_COMPILE=i686-w64-mingw32- make -j2 bin USER_CFLAGS=-Werror CROSS_COMPILE=i686-w64-mingw32-
make zip make zip
mv cc65.zip cc65-win32.zip mv cc65.zip cc65-snapshot-win32.zip
- name: Upload a 32-bit Snapshot Zip - name: Upload a 32-bit Snapshot Zip
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: cc65-snapshot-win32.zip name: cc65-snapshot-win32.zip
path: cc65-win32.zip path: cc65-snapshot-win32.zip
- name: Upload a 64-bit Snapshot Zip # - name: Upload a 64-bit Snapshot Zip
uses: actions/upload-artifact@v2 # uses: actions/upload-artifact@v2
with: # with:
name: cc65-snapshot-win64.zip # name: cc65-snapshot-win64.zip
path: cc65-win64.zip # path: cc65-snapshot-win64.zip
- name: Upload snapshot to sourceforge - name: Upload snapshot to sourceforge
uses: nogsantos/scp-deploy@master uses: nogsantos/scp-deploy@master
with: with:
src: cc65-win32.zip src: cc65-snapshot-win32.zip
host: ${{ secrets.SSH_HOST }} host: ${{ secrets.SSH_HOST }}
remote: ${{ secrets.SSH_DIR }} remote: ${{ secrets.SSH_DIR }}
port: ${{ secrets.SSH_PORT }} port: ${{ secrets.SSH_PORT }}