Skip to content

Commit

Permalink
Merge branch 'master' into qflow-1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
RTimothyEdwards committed Dec 23, 2020
2 parents fbddbf0 + 08ffd27 commit 47ed7ea
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 1 deletion.
46 changes: 46 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- '1.*'

name: CI

jobs:
build_linux:
name: Build/Linux
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Get the version
id: get_version
run: |
export VERSION_NUM=$(ruby -e "print '$GITHUB_REF'.split(/[\/\.]/).select {|v| v == v.to_i.to_s }.join('.')")
echo ::set-output name=value::${VERSION_NUM}
- name: Build project
run: |
./configure
make -j$(nproc)
sudo make install
tar -cvf /tmp/qflow_binaries.tar.gz -C /usr/local/share/qflow .
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
tag_name: ${{ steps.get_version.outputs.value }}
release_name: ${{ steps.get_version.outputs.value }}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: /tmp/qflow_binaries.tar.gz
asset_name: qflow_${{ steps.get_version.outputs.value }}_linux_amd64.tar.gz
asset_content_type: application/gzip
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.89
1.4.90
2 changes: 2 additions & 0 deletions src/readverilog.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,7 @@ extern struct instance *AppendInstance(struct cellrec *cell, char *cellname);
extern struct instance *PrependInstance(struct cellrec *cell, char *cellname);
extern struct portrec *InstPort(struct instance *inst, char *portname, char *netname);
extern void *BusHashLookup(char *s, struct hashtable *table);
extern int GetBus(char *astr, struct netrec *wb, struct hashtable *nets);
extern struct netrec *Net(struct cellrec *cell, char *netname);

// readverilog.h

0 comments on commit 47ed7ea

Please sign in to comment.