mirror of
https://github.com/cc65/cc65.git
synced 2024-06-16 09:29:32 +00:00
Moved Windows binary snapshot to SourceForge.
This commit is contained in:
parent
1673a40a77
commit
8ec3d9268e
|
@ -1,7 +1,7 @@
|
||||||
language:
|
language:
|
||||||
- c
|
- c
|
||||||
install:
|
install:
|
||||||
- sudo apt-get install linuxdoc-tools linuxdoc-tools-info binutils-mingw-w64-i686 gcc-mingw-w64-i686
|
- sudo apt-get install linuxdoc-tools linuxdoc-tools-info binutils-mingw-w64-i686 gcc-mingw-w64-i686 sshpass
|
||||||
script:
|
script:
|
||||||
- make bin USER_CFLAGS=-Werror
|
- make bin USER_CFLAGS=-Werror
|
||||||
- make lib QUIET=1
|
- make lib QUIET=1
|
||||||
|
@ -10,6 +10,8 @@ script:
|
||||||
- make doc zip
|
- make doc zip
|
||||||
after_success:
|
after_success:
|
||||||
- make -f Makefile.gh-pages
|
- make -f Makefile.gh-pages
|
||||||
|
- make -f Makefile.sf-files
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- secure: "h+hoQdEHGPLNwaqGKmSaM8NBRDLc2X+W05VsnNG2Feq/wPv/AiBjONNlzN7jRf6D6f3aoPXaQ2Lc3bYWdxGvFRCmwiofdxkJI9n5L8HPHLZ2lf37MQsXmGJzoTFOvjPLj73H6HlbI9Ux0El3zO6hvalxiXj6TfoZ41dbhNyvpYk="
|
- secure: "h+hoQdEHGPLNwaqGKmSaM8NBRDLc2X+W05VsnNG2Feq/wPv/AiBjONNlzN7jRf6D6f3aoPXaQ2Lc3bYWdxGvFRCmwiofdxkJI9n5L8HPHLZ2lf37MQsXmGJzoTFOvjPLj73H6HlbI9Ux0El3zO6hvalxiXj6TfoZ41dbhNyvpYk="
|
||||||
|
- secure: "A4hMEe5RRfUtYjFGbT7QAvT1Tyo434N+/TiuQeQ4q0L46c79LnXuGQzbFLOFZshZiplLkJr7lFg466CoI1bf2L0cQOew/LesMhE75v0HQ7tZnExWhdpAk0ri6nWixbjn/dmQ0+HxjzJ48A44DMMBYcvSIsO4vflvuJ8etfSg42k="
|
||||||
|
|
|
@ -5,17 +5,16 @@
|
||||||
GH_PAGES = ../gh-pages
|
GH_PAGES = ../gh-pages
|
||||||
|
|
||||||
all:
|
all:
|
||||||
echo $(TRAVIS_COMMIT) | zip -z cc65
|
|
||||||
ifdef GH_TOKEN
|
ifdef GH_TOKEN
|
||||||
git clone --branch=gh-pages https://$(GH_TOKEN)@github.com/cc65/cc65.git $(GH_PAGES)
|
@echo 'git clone --branch=gh-pages https://$$(GH_TOKEN)@github.com/cc65/cc65.git $(GH_PAGES)'
|
||||||
|
@git clone --branch=gh-pages https://$(GH_TOKEN)@github.com/cc65/cc65.git $(GH_PAGES)
|
||||||
cd $(GH_PAGES) && git config user.name "Oliver Schmidt"
|
cd $(GH_PAGES) && git config user.name "Oliver Schmidt"
|
||||||
cd $(GH_PAGES) && git config user.email "ol.sc@web.de"
|
cd $(GH_PAGES) && git config user.email "ol.sc@web.de"
|
||||||
cd $(GH_PAGES) && git config push.default simple
|
cd $(GH_PAGES) && git config push.default simple
|
||||||
cd $(GH_PAGES) && $(RM) -r doc download
|
cd $(GH_PAGES) && $(RM) -r doc
|
||||||
cd $(GH_PAGES) && mkdir doc download
|
cd $(GH_PAGES) && mkdir doc
|
||||||
cp html/*.* $(GH_PAGES)/doc
|
cp html/*.* $(GH_PAGES)/doc
|
||||||
cp cc65.zip $(GH_PAGES)/download/cc65-snapshot-win32.zip
|
cd $(GH_PAGES) && git add -A doc
|
||||||
cd $(GH_PAGES) && git add -A doc download
|
|
||||||
cd $(GH_PAGES) && git commit -m "Updated from commit $(TRAVIS_COMMIT)."
|
cd $(GH_PAGES) && git commit -m "Updated from commit $(TRAVIS_COMMIT)."
|
||||||
cd $(GH_PAGES) && git push
|
cd $(GH_PAGES) && git push
|
||||||
endif
|
endif
|
||||||
|
|
16
Makefile.sf-files
Normal file
16
Makefile.sf-files
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
.PHONY: all
|
||||||
|
|
||||||
|
.SUFFIXES:
|
||||||
|
|
||||||
|
SCPFLAGS = -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no
|
||||||
|
|
||||||
|
SF_USER = oliverschmidt
|
||||||
|
SF_HOST = frs.sourceforge.net
|
||||||
|
SF_FILE = /home/frs/project/cc65/cc65-snapshot-win64.zip
|
||||||
|
|
||||||
|
all:
|
||||||
|
echo $(TRAVIS_COMMIT) | zip -z cc65
|
||||||
|
ifdef SF_PASS
|
||||||
|
@echo 'sshpass -p $$(SF_PASS) scp $(SCPFLAGS) cc65.zip $(SF_USER)@$(SF_HOST):$(SF_FILE)'
|
||||||
|
@sshpass -p $(SF_PASS) scp $(SCPFLAGS) cc65.zip $(SF_USER)@$(SF_HOST):$(SF_FILE)
|
||||||
|
endif
|
Loading…
Reference in New Issue
Block a user