mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: do not upload fast.v results
This commit is contained in:
parent
f67e5d12e5
commit
f1244bd7f1
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -111,7 +111,7 @@ jobs:
|
||||
run: |
|
||||
./v tutorials/building_a_simple_web_blog_with_vweb/code/blog
|
||||
- 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:
|
||||
needs: no-scheduling
|
||||
|
@ -109,12 +109,13 @@ fn main() {
|
||||
// exec('git checkout master')
|
||||
// os.write_file('last_commit.txt', commits[commits.len - 1]) ?
|
||||
// Upload the result to github pages
|
||||
os.chdir('website')
|
||||
os.execute_or_exit('git checkout gh-pages')
|
||||
os.cp('../index.html', 'index.html') ?
|
||||
os.system('git commit -am "update benchmark"')
|
||||
os.system('git push origin gh-pages')
|
||||
os.chdir('..')
|
||||
if !os.args.contains('-noupload') {
|
||||
os.chdir('website')
|
||||
os.execute_or_exit('git checkout gh-pages')
|
||||
os.cp('../index.html', 'index.html') ?
|
||||
os.system('git commit -am "update benchmark"')
|
||||
os.system('git push origin gh-pages')
|
||||
}
|
||||
}
|
||||
|
||||
fn exec(s string) string {
|
||||
|
Loading…
Reference in New Issue
Block a user