Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI with github actions!!!! #320

Merged
merged 124 commits into from
Mar 3, 2020
Merged
Changes from 1 commit
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
b827819
Update main.yml
typemytype Oct 30, 2019
58b0bbe
Update main.yml
typemytype Oct 30, 2019
d359109
Delete install.sh
typemytype Oct 30, 2019
fc18d82
Delete tests.sh
typemytype Oct 30, 2019
578c15c
Delete .travis.yml
typemytype Oct 30, 2019
984f24c
Update main.yml
typemytype Oct 30, 2019
71c0968
Update main.yml
typemytype Oct 30, 2019
9f07be7
Update main.yml
typemytype Oct 30, 2019
5b74c94
Update main.yml
typemytype Oct 30, 2019
abf23e4
Update main.yml
typemytype Oct 30, 2019
0a34887
Update main.yml
typemytype Oct 30, 2019
8ca0faf
Merge branch 'master' into github-action
typemytype Nov 1, 2019
05f7941
adding test.sh in travis back
typemytype Nov 2, 2019
be8fff8
Rename test.sh to tests.sh
typemytype Nov 2, 2019
3dc4f0f
Merge branch 'master' into github-action
typemytype Nov 3, 2019
a6a396a
adding show all test data differences in a pdf
typemytype Nov 4, 2019
d8af4f9
Update main.yml
typemytype Nov 4, 2019
92a3c46
Update main.yml
typemytype Nov 5, 2019
23ee14e
Update main.yml
typemytype Nov 5, 2019
74d803f
local import
typemytype Nov 5, 2019
32e1a0f
Merge branch 'github-action' of https://github.com/typemytype/drawbot…
typemytype Nov 5, 2019
9a8842f
Merge branch 'master' into github-action
typemytype Nov 5, 2019
f816229
Update main.yml
typemytype Nov 7, 2019
3186242
always build the difference pdf
typemytype Nov 7, 2019
2ad498a
adding source paths to diff pdf
typemytype Nov 7, 2019
8c2327c
update with test data from 10.15
typemytype Nov 7, 2019
04b3d62
Merge branch 'master' into github-action
typemytype Nov 7, 2019
f6a24cc
rename builder files
typemytype Nov 7, 2019
167cb69
run on failure
typemytype Nov 7, 2019
a018673
ignore mov test
typemytype Nov 7, 2019
d71e293
improve drawing of the test image paths
typemytype Nov 7, 2019
d93b7fc
improve mov tests
typemytype Nov 7, 2019
f139785
reset: dont ignore ther
typemytype Nov 7, 2019
0e17f19
missed one
typemytype Nov 8, 2019
c64590f
catch drawbotError and compare the message
typemytype Nov 8, 2019
0b510d7
Update expected_fontPath.pdf
typemytype Nov 8, 2019
e314aa4
ignore svg font variations
typemytype Nov 8, 2019
9c06862
Merge branch 'master' into github-action
typemytype Dec 20, 2019
6921cc0
change permission
typemytype Dec 20, 2019
8bdc113
drawBot tests run better on a newer macOS
typemytype Dec 20, 2019
6cd93e0
revert build system on travis
typemytype Dec 20, 2019
37ba495
Merge branch 'master' into github-action
typemytype Jan 9, 2020
fabc7bb
remove travis
typemytype Jan 9, 2020
5c5bb09
remove unused read the docs requirements
typemytype Jan 10, 2020
275994f
rename the action
typemytype Jan 10, 2020
4dbae6a
Revert "remove unused read the docs requirements"
typemytype Jan 10, 2020
30f6615
initial commit to build on github
typemytype Jan 10, 2020
e69ab29
Update build.yml
typemytype Jan 10, 2020
f29443c
typo
typemytype Jan 10, 2020
311fb1f
adding packaging to requirements
typemytype Jan 10, 2020
b75946e
build the dmg
typemytype Jan 10, 2020
c1867e7
brew python...
typemytype Jan 10, 2020
37f5a1d
multiline
typemytype Jan 10, 2020
0ca580f
build the app anyway
typemytype Jan 10, 2020
d93fbf3
no test at all
typemytype Jan 10, 2020
62a3aeb
install python from a .pkg
typemytype Jan 12, 2020
ec4cd5a
missing -target
typemytype Jan 12, 2020
dfd43c5
try to import QTKit
typemytype Jan 12, 2020
123bec9
Merge branch 'master' into github-action
typemytype Jan 12, 2020
63e66d7
add certificates...
typemytype Jan 12, 2020
d92ac04
Merge branch 'master' into github-action
typemytype Jan 12, 2020
01d510c
next attempt
typemytype Jan 12, 2020
7d1fb02
Merge branch 'github-action' of https://github.com/typemytype/drawbot…
typemytype Jan 12, 2020
102ca89
next attempt
typemytype Jan 12, 2020
cc218c0
between quotes
typemytype Jan 12, 2020
e077eec
next attempt
typemytype Jan 12, 2020
20b35a7
next attempt
typemytype Jan 12, 2020
3af5885
next attempt
typemytype Jan 12, 2020
d86912f
next attempt
typemytype Jan 12, 2020
4de60bc
next attempt
typemytype Jan 12, 2020
175cf80
next attempt
typemytype Jan 12, 2020
de823c1
next attempt
typemytype Jan 12, 2020
01f87ad
next attempt
typemytype Jan 12, 2020
40b3515
next attempt
typemytype Jan 12, 2020
3bc602e
next attempt
typemytype Jan 12, 2020
8e5e171
next attempt
typemytype Jan 12, 2020
72612cb
next attempt
typemytype Jan 12, 2020
1ed0af2
next attempt
typemytype Jan 12, 2020
0fe00db
next attempt
typemytype Jan 12, 2020
9f1c551
adding packaging back
typemytype Jan 12, 2020
c78d88d
try when py2app is not notarized and codesigned
typemytype Jan 12, 2020
88a44d6
on do codesigning
typemytype Jan 12, 2020
e2e397e
create custom keychain
typemytype Jan 12, 2020
3484cae
only notarize
typemytype Jan 13, 2020
50bead0
typo
typemytype Jan 13, 2020
8644c12
next attempt
typemytype Jan 13, 2020
560be13
adding force and deep codesign
typemytype Jan 13, 2020
d6c6490
next attempt
typemytype Jan 13, 2020
1131e51
next attempt
typemytype Jan 13, 2020
8348be2
next attempt
typemytype Jan 13, 2020
4dafa54
try with sudo...
typemytype Jan 13, 2020
bc7929e
dont notarize (for speed)
typemytype Jan 13, 2020
365910f
next attempt
typemytype Jan 13, 2020
6bddf5a
Remove dummy codesign
typemytype Jan 13, 2020
8cb9bf1
touch version number!!
typemytype Jan 13, 2020
df1fe2e
rename to test workflow
typemytype Jan 14, 2020
ba85360
next attempt
typemytype Jan 14, 2020
b192028
using the master
typemytype Jan 14, 2020
5d6b624
adding CHANGELOG.md
typemytype Jan 14, 2020
4f2eae3
next attempt
typemytype Jan 14, 2020
d372a44
try harder!!
typemytype Feb 17, 2020
491b1d1
next tryout
typemytype Mar 2, 2020
204958d
older tags dont have a prefix “v”
typemytype Mar 2, 2020
7c40d91
next tryout
typemytype Mar 2, 2020
3650fd0
adding print output
typemytype Mar 2, 2020
0378005
codesign embedded tool
typemytype Mar 2, 2020
057b7e6
oh typo
typemytype Mar 2, 2020
6335345
typos
typemytype Mar 2, 2020
6c51edb
update internal tools: potrace and mkbitmap
typemytype Mar 2, 2020
da5d77d
Merge branch 'master' into github-action
typemytype Mar 2, 2020
aeb31ba
Update CHANGELOG.md
typemytype Mar 2, 2020
ae1a246
Update CHANGELOG.md
typemytype Mar 2, 2020
24f9a9a
Merge branch 'master' into github-action
typemytype Mar 2, 2020
8eaeb29
testing with newer sphinx version
typemytype Mar 3, 2020
e935e0a
Revert "testing with newer sphinx version"
typemytype Mar 3, 2020
513b3bc
create a published release directly
typemytype Mar 3, 2020
efefe4f
use a custom wheel for xattr
typemytype Mar 3, 2020
d533ba1
revert while we are testing
typemytype Mar 3, 2020
cb7ff45
pin py2app to 0.19
typemytype Mar 3, 2020
d228315
add more comments, easier to search later on why....
typemytype Mar 3, 2020
8d0ec38
directly make a public release
typemytype Mar 3, 2020
3c9369b
Update CHANGELOG.md
typemytype Mar 3, 2020
87fbd13
improve CHANGELOG
typemytype Mar 3, 2020
58a1ac9
Update CHANGELOG.md
typemytype Mar 3, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
next attempt
  • Loading branch information
typemytype committed Jan 14, 2020
commit 4f2eae36d5cfa18dbff1b8cd647947276dff2622
60 changes: 36 additions & 24 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,30 +39,42 @@ jobs:
python3 -m pip install .
# - name: Run tests
# run: python3 ./tests/runAllTests.py
# - name: Build app
# run: |
# python3 setupApp.py py2app --dmg --codesign "${{ secrets.CODESIGN_NAME }}" --notarizedeveloper "${{ secrets.NOTARIZE_DEVELOPER }}" --notarizePassword "${{ secrets.NOTARIZE_PASSWORD }}"
- name: Create Release
id: create_release
uses: actions/create-release@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: DrawBot version ${{ github.ref }}
draft: true
prerelease: false
body: |
Changes in this Release:
- ...
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1.0.1
- name: Build app
run: |
python3 setupApp.py py2app --dmg --codesign "${{ secrets.CODESIGN_NAME }}" --notarizedeveloper "${{ secrets.NOTARIZE_DEVELOPER }}" --notarizePassword "${{ secrets.NOTARIZE_PASSWORD }}"
- name: Release
uses: docker://antonyurchenko/git-release:latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DRAFT_RELEASE: "false"
PRE_RELEASE: "false"
CHANGELOG_FILE: "CHANGELOG.md"
ALLOW_EMPTY_CHANGELOG: "true"
ALLOW_TAG_PREFIX: "true"
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./dist/DrawBot.dmg
asset_name: DrawBot.dmg
asset_content_type: application/dmg
args: |
dist/DrawBot.dmg
# - name: Create Release
# id: create_release
# uses: actions/create-release@master
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
# with:
# tag_name: ${{ github.ref }}
# release_name: DrawBot version ${{ github.ref }}
# draft: true
# prerelease: false
# body: |
# Changes in this Release:
# - ...
# - name: Upload Release Asset
# id: upload-release-asset
# uses: actions/upload-release-asset@v1.0.1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
# asset_path: ./dist/DrawBot.dmg
# asset_name: DrawBot.dmg
# asset_content_type: application/dmg