ci: do not upload fast.v results
parent
f67e5d12e5
commit
f1244bd7f1
|
@ -111,7 +111,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
./v tutorials/building_a_simple_web_blog_with_vweb/code/blog
|
./v tutorials/building_a_simple_web_blog_with_vweb/code/blog
|
||||||
- name: Build cmd/tools/fast
|
- name: Build cmd/tools/fast
|
||||||
run: cd cmd/tools/fast && ../../../v fast.v && ./fast
|
run: cd cmd/tools/fast && ../../../v fast.v && ./fast -noupload
|
||||||
|
|
||||||
ubuntu-tcc-boehm-gc:
|
ubuntu-tcc-boehm-gc:
|
||||||
needs: no-scheduling
|
needs: no-scheduling
|
||||||
|
|
|
@ -109,12 +109,13 @@ fn main() {
|
||||||
// exec('git checkout master')
|
// exec('git checkout master')
|
||||||
// os.write_file('last_commit.txt', commits[commits.len - 1]) ?
|
// os.write_file('last_commit.txt', commits[commits.len - 1]) ?
|
||||||
// Upload the result to github pages
|
// Upload the result to github pages
|
||||||
os.chdir('website')
|
if !os.args.contains('-noupload') {
|
||||||
os.execute_or_exit('git checkout gh-pages')
|
os.chdir('website')
|
||||||
os.cp('../index.html', 'index.html') ?
|
os.execute_or_exit('git checkout gh-pages')
|
||||||
os.system('git commit -am "update benchmark"')
|
os.cp('../index.html', 'index.html') ?
|
||||||
os.system('git push origin gh-pages')
|
os.system('git commit -am "update benchmark"')
|
||||||
os.chdir('..')
|
os.system('git push origin gh-pages')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn exec(s string) string {
|
fn exec(s string) string {
|
||||||
|
|
Loading…
Reference in New Issue